update
This commit is contained in:
parent
0b5338d157
commit
1b6b70eaff
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user