[SERVER-13311] Bad error messages for invalid number in YAML config Created: 21/Mar/14  Updated: 11/Jul/16  Resolved: 13/May/14

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

Type: Bug Priority: Major - P3
Reporter: Shaun Verch Assignee: Shaun Verch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Operating System: ALL
Sprint: Server 2.7.1
Participants:

 Description   

$ cat config.yaml
{ net.port : "a" }
$ ./mongod -f config.yaml
Bad digit
try './mongod --help' for more information

Should at least print what option is the problem.



 Comments   
Comment by Githook User [ 13/May/14 ]

Author:

{u'name': u'Shaun Verch', u'email': u'shaun.verch@mongodb.com'}

Message: SERVER-13311 Improve error message for bad numerical values in YAML config
Branch: master
https://github.com/mongodb/mongo/commit/00a7ed1705b7dc6b10ce8f59c06a482ceeeff94a

Generated at Thu Feb 08 03:31:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.