Skip to content

fix(mongodb): inline error lines say what went wrong in plain words and are logged (#1761, part 3) - #1798

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
fix/mongo-readable-errors
Oct 25, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
fix/mongo-readable-errors

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Part of #1761.

12 raw 'Failed to ...: $e' messages in the MongoDB views (documents, databases, collections, document editor, connection form) go through failureMessage with DatabaseDriver.mongodb, and the catch blocks keep the stack; the failed index drop toast uses reportError. Parse errors of the user's own JSON/EJSON (Invalid JSON: ...) are left as they are: they are not driver failures and the parser's message is what the user needs.

No test depended on these texts. Not run locally, CI will.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant