diff --git a/src/dgraph/interpreter.cpp b/src/dgraph/interpreter.cpp index d4aa0ae1d614c317f541fba25fd2a391feec487c..3f50ad082cc23c24743194ce673f097ced9a1a8b 100644 --- a/src/dgraph/interpreter.cpp +++ b/src/dgraph/interpreter.cpp @@ -480,7 +480,7 @@ shell( std::istream& sin, std::ostream& sout, const std::string& promptUser ) istringstream args (cmdArgs); try{ cmd(cmdLine,args,sout); } - catch( exception& e ) { dgDEBUG(1) << e.what(); throw e; } + catch( exception& e ) { dgDEBUG(1) << e.what(); throw; } catch(...) { dgDEBUG(1) << "!! unknow!." <<endl; throw; } } }