From ff9248c42c66ce67e3980da3a07bec6f8df630ef Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Tue, 17 Sep 2024 13:37:52 +0800 Subject: [PATCH] update --- src/repstr/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repstr/main.cpp b/src/repstr/main.cpp index 9604a91..d292286 100644 --- a/src/repstr/main.cpp +++ b/src/repstr/main.cpp @@ -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"); }