This commit is contained in:
Zengtudor 2024-09-17 13:51:12 +08:00
parent d561f2eb54
commit 90b0776b23
1 changed files with 2 additions and 0 deletions

View File

@ -47,7 +47,9 @@ int main(const int argc,const char *argv[]){
}catch(const std::exception &e){
zt::eprint("Caught an error because:\n","\t",NAME_VALUE(e.what()),"\n");
return -1;
}catch(...){
zt::eprint("Caught an unknown error,closing...\n");
return -1;
}
}