]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/mongodb/connection/connection.factor
change ERROR: words from throw-foo back to foo.
[factor.git] / extra / mongodb / connection / connection.factor
index 3b2ce203bc0cb4c689a9d85c65c5d10c7e119790..30096bdaeb32d90bbaa084ee05f414634233249e 100644 (file)
@@ -150,7 +150,7 @@ ERROR: mongod-connection-error address message ;
         open-connection [ authenticate-connection ] keep
     ] [
         drop nip address>> "Could not open connection to mongod"
-        throw-mongod-connection-error
+        mongod-connection-error
     ] recover ;
 
 : mdb-close ( mdb-connection -- )