This commit is contained in:
Zengtudor 2024-09-17 13:37:52 +08:00
parent 92a433ed69
commit ff9248c42c

View File

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