This commit is contained in:
Zengtudor 2024-09-17 13:52:03 +08:00
parent 90b0776b23
commit 75c1458e8a

View File

@ -45,11 +45,12 @@ int main(const int argc,const char *argv[]){
zt::print(argv1,"\n");
return 0;
}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;
}
return -1;
}