This commit is contained in:
Zengtudor 2024-09-17 13:25:01 +08:00
parent 0b5338d157
commit 1b6b70eaff
1 changed files with 3 additions and 1 deletions

View File

@ -45,6 +45,8 @@ int main(const int argc,const char *argv[]){
zt::print(argv1,"\n"); zt::print(argv1,"\n");
}catch(std::runtime_error &e){ }catch(std::runtime_error &e){
zt::eprint("caught an error because:\n","\te.what(): ",e.what(),"\n"); zt::eprint("Caught an error because:\n","\te.what(): ",e.what(),"\n");
}catch(...){
zt::eprint("Caught an unknown error,closing...\n");
} }
} }