mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-02 03:38:03 +08:00
error on failing to create view from CSP (#924)
This commit is contained in:
parent
a02d8e402c
commit
3b600232be
@ -291,7 +291,8 @@ void create_view::createViewFiles(std::vector<std::string> &cspFileNames)
|
|||||||
for (auto const &file : cspFileNames)
|
for (auto const &file : cspFileNames)
|
||||||
{
|
{
|
||||||
std::cout << "create view:" << file << std::endl;
|
std::cout << "create view:" << file << std::endl;
|
||||||
createViewFile(file);
|
if (createViewFile(file) != 0)
|
||||||
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
int create_view::createViewFile(const std::string &script_filename)
|
int create_view::createViewFile(const std::string &script_filename)
|
||||||
|
Loading…
Reference in New Issue
Block a user