[SERVER-1102] error message is confusing when command line parms to shell are reversed Created: 07/May/10  Updated: 16/Aug/18  Resolved: 16/Aug/18

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Dwight Merriman Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

"assert undefined" - i thought it wa sin my source file.

C:\Users\dm\mongo>mongo --shell ..\mongo-snippets\replication\test_latency.js localhost:27000
MongoDB shell version: 1.5.2-pre-
url: test
connecting to: test
loading file: ..\mongo-snippets\replication\test_latency.js
assert: assert failed : undefined
Fri May 07 19:52:34 JS Error: uncaught exception: assert failed : undefined
failed to load: ..\mongo-snippets\replication\test_latency.js



 Comments   
Comment by Asya Kamsky [ 16/Aug/18 ]

This is not reproducible for a while.  Closing as gone away.

 

Comment by Tyler Brock [ 14/Mar/13 ]

I think this has been fixed somewhere along the line (or at least clearer now):

mongo --shell test.js localhost:27017
MongoDB shell version: 2.4.0-rc3
connecting to: test
type "help" for help
loading file: test.js
loading file: localhost:27017
Thu Mar 14 14:45:48.138 file [localhost:27017] doesn't exist
failed to load: localhost:27017

Generated at Thu Feb 08 02:56:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.