update
This commit is contained in:
parent
ff9248c42c
commit
d561f2eb54
@ -1,3 +1,4 @@
|
|||||||
|
#include <exception>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <tools.hpp>
|
#include <tools.hpp>
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
@ -44,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(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");
|
||||||
}catch(...){
|
}catch(...){
|
||||||
zt::eprint("Caught an unknown error,closing...\n");
|
zt::eprint("Caught an unknown error,closing...\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user