mirror of
https://github.com/msojocs/wx-compiler.git
synced 2025-07-19 00:00:04 +08:00
fix: 字符串异常没有输出内容
This commit is contained in:
parent
62557971db
commit
0b07ddabf2
@ -500,6 +500,11 @@ int main(int argc, const char **argv)
|
||||
}
|
||||
// main - 55
|
||||
}
|
||||
catch (const std::string &e)
|
||||
{
|
||||
// TODO: 把string异常换成exception
|
||||
std::cerr << e << '\n';
|
||||
}
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
std::cerr << e.what() << '\n';
|
||||
|
Loading…
x
Reference in New Issue
Block a user