Skip to content

Commit ce3f73a

Browse files
committed
getLastErrorCmd
1 parent 96472f2 commit ce3f73a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

shell/db.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,8 @@ DB.prototype.getLastErrorObj = function(){
468468
throw "getlasterror failed: " + tojson( res );
469469
return res;
470470
}
471+
DB.prototype.getLastErrorCmd = DB.prototype.getLastErrorObj;
472+
471473

472474
/* Return the last error which has occurred, even if not the very last error.
473475

0 commit comments

Comments
 (0)