You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: make bug reporting information more actionable MONGOSH-459 (#1043)
- Remove the additional text from the error message itself and instead
move that responsibility to the output formatter
- This makes sense, because this is not actually part of the error
condition, and it allows different display methods to adjust
the error output (e.g. include a log file if present, make the
link clickable, refer to another JIRA project if appropriate, etc.)
- Add the path to the log file that the reporter would ideally include
in the CLI package.
expect(error.message).to.be.equal('[COMMON-90001] Something went wrong.\nThis is an error inside mongosh. Please file a bug report for the MONGOSH project here: https://jira.mongodb.org/projects/MONGOSH/issues.');
29
+
expect(error.message).to.be.equal('[COMMON-90001] Something went wrong.');
0 commit comments