Skip to content

fix(redis): inline error lines say what went wrong in plain words and are logged (#1761, part 2) - #1795

Merged
ZhuchkaTriplesix merged 1 commit into
feat/report-error-helperfrom
fix/redis-readable-errors
Oct 25, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
feat/report-error-helperfrom
fix/redis-readable-errors

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Part of #1761. Stacked on #1794 (base is its branch; GitHub retargets it to dev when #1794 is merged).

  • failureMessage(action, error, where:, stack:, driver:) next to reportError: logs the failure and returns <action>: <reason> for the views that show an inline error line instead of a toast.
  • The 18 raw '... failed: $e' messages in redis_key_editor, redis_keys_view and redis_connection_form use it with DatabaseDriver.redis; the catch blocks now keep the stack.
  • Text for an unrecognised error is unchanged (the error's own text); a recognised driver error now reads as the mapped message with its hint. 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