update
This commit is contained in:
parent
d561f2eb54
commit
90b0776b23
@ -47,7 +47,9 @@ int main(const int argc,const char *argv[]){
|
|||||||
|
|
||||||
}catch(const std::exception &e){
|
}catch(const std::exception &e){
|
||||||
zt::eprint("Caught an error because:\n","\t",NAME_VALUE(e.what()),"\n");
|
zt::eprint("Caught an error because:\n","\t",NAME_VALUE(e.what()),"\n");
|
||||||
|
return -1;
|
||||||
}catch(...){
|
}catch(...){
|
||||||
zt::eprint("Caught an unknown error,closing...\n");
|
zt::eprint("Caught an unknown error,closing...\n");
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user