Skip to content

Commit f9b176c

Browse files
refine error messages for clarity in debug logs
1 parent e49abe4 commit f9b176c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/util/messages.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ export const MESSAGES = {
7979
FIRE_CALLED: (req: any) => `Fire operation triggered with: ${JSON.stringify(req)}`,
8080
FIRE_COMPLETE: (itemCount: number) => `Fire operation completed. Items received: ${itemCount}.`,
8181
API_CALL_CT: (uid: string) => `API call initiated for content type: ${uid}.`,
82-
ERROR_MAP: 'Debug [map]: Content type schema fetch failed.',
83-
ERROR_MAP_RESOLVE: 'Debug [mapResolve]: Mapping resolution failed.',
84-
ERROR_FILTER_ITEMS: 'Debug [filterItems]: Item filtering failed.',
85-
ERROR_FIRE: 'Debug [fire]: Fire operation encountered error.',
82+
ERROR_MAP: 'Debug [map]: Failed to fetch content type schema.',
83+
ERROR_MAP_RESOLVE: 'Debug [mapResolve]: Unable to resolve mapping.',
84+
ERROR_FILTER_ITEMS: 'Debug [filterItems]: Unable to filter items.',
85+
ERROR_FIRE: 'Debug during fire operation.',
8686
REFIRE_CALLED: (req: any) => `Re-fire operation triggered with: ${JSON.stringify(req)}`,
8787
CHECKPOINT_LOCKDOWN: 'Checkpoint: lockdown has been invoked',
8888
},

0 commit comments

Comments
 (0)