Repository navigation
Release 2026.9.1 - #298
Merged
Merged
Release 2026.9.1#298
Conversation
Co-authored-by: abroa01 <142853163+abroa01@users.noreply.github.com>
- Add `errorCode` field to all /send-notification error responses for machine-readable classification (user-not-found, no-devices, etc.) - Map Meteor.Error codes to proper HTTP status codes instead of hardcoding 404 for all client-safe errors - Extract shared error helpers into utils/errorHelpers.js: - classifyError() + ERROR_HINTS for client-side UI display - mapMeteorError() + HTTP_STATUS_MAP for server-side responses - Refactor adminApi.js catch blocks to use shared mapMeteorError() - Fix ReferenceError: `username` not defined in admin login catch block - Add warning toast type and session-expiry detection to admin dashboard - Show actionable hints and HTTP status in WebNotificationPage errors
fix: surface Meteor.Error reason in /send-notification responses
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proper Error Messages to UI