From 12447240b15bbe81184dea1afd46973ce62d2e01 Mon Sep 17 00:00:00 2001
From: Francois Bleibel <fbleibel@gmail.com>
Date: Thu, 14 Oct 2010 13:30:36 +0900
Subject: [PATCH] Fixed bad rethrow.

---
 src/dgraph/interpreter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dgraph/interpreter.cpp b/src/dgraph/interpreter.cpp
index d4aa0ae..3f50ad0 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; }
 	}
     }
-- 
GitLab