Skip to content

Commit ca162d4

Browse files
abhizipstackclaude
andcommitted
fix: prettier formatting for multi-condition guard
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3a7da9d commit ca162d4

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

frontend/src/service/notification-service.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,13 @@ function NotificationProvider({ children }) {
6161

6262
// Skip notification for JS runtime errors (not API failures)
6363
// These have no useful info for the user — log them for debugging instead
64-
if (error && !error.response && !error.request && !message && !description) {
64+
if (
65+
error &&
66+
!error.response &&
67+
!error.request &&
68+
!message &&
69+
!description
70+
) {
6571
console.error("[Runtime Error]", error);
6672
return;
6773
}

0 commit comments

Comments
 (0)