This commit is contained in:
Zengtudor 2024-09-17 13:37:52 +08:00
parent 92a433ed69
commit ff9248c42c
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ 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","\t",NAME_VALUE(e.what()),"\n");
}catch(...){ }catch(...){
zt::eprint("Caught an unknown error,closing...\n"); zt::eprint("Caught an unknown error,closing...\n");
} }