Skip to content

RM-177: Add internal error detail view#55

Merged
BenHall-1 merged 2 commits intoTicketsBot-cloud:masterfrom
biast12:RM-177
Nov 11, 2025
Merged

RM-177: Add internal error detail view#55
BenHall-1 merged 2 commits intoTicketsBot-cloud:masterfrom
biast12:RM-177

Conversation

@biast12
Copy link
Copy Markdown
Contributor

@biast12 biast12 commented Oct 29, 2025

Description

RM-177
Refactors frontend and backend error handling to support displaying internal error details to users when available. Updates the error response structure in the backend to include an optional 'internal_error' field, and modifies frontend notifyError usage to accept and display these details in a collapsible section in the notification modal. All Svelte components now pass the full error object to notifyError, enabling more informative error reporting and easier debugging.
image
image

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Improvement

Testing

I changed the Button Colour value to an invalid enum value (0)
image

Checklist

  • My code follows the style of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

@biast12 biast12 requested a review from a team as a code owner October 29, 2025 00:12
Refactors frontend and backend error handling to support displaying internal error details to users when available. Updates the error response structure in the backend to include an optional 'internal_error' field, and modifies frontend notifyError usage to accept and display these details in a collapsible section in the notification modal. All Svelte components now pass the full error object to notifyError, enabling more informative error reporting and easier debugging.
Replaces the hardcoded staff documentation URL with the DOCS_URL constant in NoPermissionModal.svelte for better maintainability and consistency.
@BenHall-1 BenHall-1 merged commit 2688e45 into TicketsBot-cloud:master Nov 11, 2025
@biast12 biast12 deleted the RM-177 branch November 13, 2025 08:37
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.

2 participants