Variable: WARNING_LOGS
const
WARNING_LOGS: {APPLICATION_MONITOR_DOWN
:"[ApplicationService] Monitor failure detected - forwarding to renderer"
;DATABASE_MONITOR_VALIDATION_CONTINUE
:"[DatabaseSchema] Continuing without monitor type validation"
;DATABASE_MONITOR_VALIDATION_MISSING
:"[DatabaseSchema] No monitor types registered - validation will allow any type"
;HISTORY_INVALID_STATUS
:"[HistoryMapper] Invalid status value, defaulting to 'down'"
;MONITOR_ACTIVE_OPERATIONS_INVALID
:"active_operations contains invalid or unsafe data, using empty array"
;MONITOR_ACTIVE_OPERATIONS_PARSE_FAILED
:"Failed to parse active_operations, using empty array"
;MONITOR_CONFIG_UPDATE_FAILED_INSTANCE
:"Failed to update config for monitor instance"
;MONITOR_CONFIG_UPDATE_FAILED_TYPE
:"Failed to update config for monitor type {type}"
;MONITOR_FRESH_DATA_MISSING
:"Fresh monitor data not found for {monitorId}"
;MONITOR_NOT_FOUND_CACHE
:"Monitor {monitorId} not found, ignoring result"
;MONITOR_NOT_MONITORING
:"Monitor {monitorId} no longer monitoring, ignoring result"
;MONITOR_TYPE_UNKNOWN_CHECK
:"Unknown monitor type: {monitorType}"
;MONITOR_TYPE_UNKNOWN_DETAIL
:"Unknown monitor type for detail formatting"
;MONITOR_TYPE_UNKNOWN_TITLE
:"Unknown monitor type for title suffix formatting"
;NOTIFICATIONS_UNSUPPORTED
:"Notifications not supported on this platform"
;OPERATION_TIMEOUT
:"Operation {operationId} timed out, cancelling"
;RECURSIVE_CALL_PREVENTED
:"Preventing recursive call for {identifier}/{monitorId}"
;SITE_NOT_FOUND_MANUAL
:"Site {identifier} not found or has no monitors for manual check"
;SITE_NOT_FOUND_SCHEDULED
:"Site {siteIdentifier} not found in cache for scheduled check"
; }
Defined in: shared/utils/logTemplates.ts:328
Warning and error log templates.
Type Declarationโ
APPLICATION_MONITOR_DOWNโ
readonly
APPLICATION_MONITOR_DOWN:"[ApplicationService] Monitor failure detected - forwarding to renderer"
="[ApplicationService] Monitor failure detected - forwarding to renderer"
Application warnings
DATABASE_MONITOR_VALIDATION_CONTINUEโ
readonly
DATABASE_MONITOR_VALIDATION_CONTINUE:"[DatabaseSchema] Continuing without monitor type validation"
="[DatabaseSchema] Continuing without monitor type validation"
Database warnings
DATABASE_MONITOR_VALIDATION_MISSINGโ
readonly
DATABASE_MONITOR_VALIDATION_MISSING:"[DatabaseSchema] No monitor types registered - validation will allow any type"
="[DatabaseSchema] No monitor types registered - validation will allow any type"
HISTORY_INVALID_STATUSโ
readonly
HISTORY_INVALID_STATUS:"[HistoryMapper] Invalid status value, defaulting to 'down'"
="[HistoryMapper] Invalid status value, defaulting to 'down'"
History warnings
MONITOR_ACTIVE_OPERATIONS_INVALIDโ
readonly
MONITOR_ACTIVE_OPERATIONS_INVALID:"active_operations contains invalid or unsafe data, using empty array"
="active_operations contains invalid or unsafe data, using empty array"
Monitor warnings
MONITOR_ACTIVE_OPERATIONS_PARSE_FAILEDโ
readonly
MONITOR_ACTIVE_OPERATIONS_PARSE_FAILED:"Failed to parse active_operations, using empty array"
="Failed to parse active_operations, using empty array"
MONITOR_CONFIG_UPDATE_FAILED_INSTANCEโ
readonly
MONITOR_CONFIG_UPDATE_FAILED_INSTANCE:"Failed to update config for monitor instance"
="Failed to update config for monitor instance"
MONITOR_CONFIG_UPDATE_FAILED_TYPEโ
readonly
MONITOR_CONFIG_UPDATE_FAILED_TYPE:"Failed to update config for monitor type {type}"
="Failed to update config for monitor type {type}"
MONITOR_FRESH_DATA_MISSINGโ
readonly
MONITOR_FRESH_DATA_MISSING:"Fresh monitor data not found for {monitorId}"
="Fresh monitor data not found for {monitorId}"
MONITOR_NOT_FOUND_CACHEโ
readonly
MONITOR_NOT_FOUND_CACHE:"Monitor {monitorId} not found, ignoring result"
="Monitor {monitorId} not found, ignoring result"
MONITOR_NOT_MONITORINGโ
readonly
MONITOR_NOT_MONITORING:"Monitor {monitorId} no longer monitoring, ignoring result"
="Monitor {monitorId} no longer monitoring, ignoring result"
MONITOR_TYPE_UNKNOWN_CHECKโ
readonly
MONITOR_TYPE_UNKNOWN_CHECK:"Unknown monitor type: {monitorType}"
="Unknown monitor type: {monitorType}"
MONITOR_TYPE_UNKNOWN_DETAILโ
readonly
MONITOR_TYPE_UNKNOWN_DETAIL:"Unknown monitor type for detail formatting"
="Unknown monitor type for detail formatting"
MONITOR_TYPE_UNKNOWN_TITLEโ
readonly
MONITOR_TYPE_UNKNOWN_TITLE:"Unknown monitor type for title suffix formatting"
="Unknown monitor type for title suffix formatting"
NOTIFICATIONS_UNSUPPORTEDโ
readonly
NOTIFICATIONS_UNSUPPORTED:"Notifications not supported on this platform"
="Notifications not supported on this platform"
Notification warnings
OPERATION_TIMEOUTโ
readonly
OPERATION_TIMEOUT:"Operation {operationId} timed out, cancelling"
="Operation {operationId} timed out, cancelling"
Operation warnings
RECURSIVE_CALL_PREVENTEDโ
readonly
RECURSIVE_CALL_PREVENTED:"Preventing recursive call for {identifier}/{monitorId}"
="Preventing recursive call for {identifier}/{monitorId}"
SITE_NOT_FOUND_MANUALโ
readonly
SITE_NOT_FOUND_MANUAL:"Site {identifier} not found or has no monitors for manual check"
="Site {identifier} not found or has no monitors for manual check"
Site not found warnings
SITE_NOT_FOUND_SCHEDULEDโ
readonly
SITE_NOT_FOUND_SCHEDULED:"Site {siteIdentifier} not found in cache for scheduled check"
="Site {siteIdentifier} not found in cache for scheduled check"