diff --git a/src/repstr/main.cpp b/src/repstr/main.cpp index d292286..3cb1e7f 100644 --- a/src/repstr/main.cpp +++ b/src/repstr/main.cpp @@ -1,3 +1,4 @@ +#include #include #include #include @@ -44,7 +45,7 @@ int main(const int argc,const char *argv[]){ 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"); }catch(...){ zt::eprint("Caught an unknown error,closing...\n");