Skip to content

fix: always log the null-marker-creator error, not only when debug is enabled#1388

Draft
joaodinissf wants to merge 1 commit into
dsldevkit:masterfrom
joaodinissf:fix/checkmarkerupdatejob-error-logging
Draft

fix: always log the null-marker-creator error, not only when debug is enabled#1388
joaodinissf wants to merge 1 commit into
dsldevkit:masterfrom
joaodinissf:fix/checkmarkerupdatejob-error-logging

Conversation

@joaodinissf
Copy link
Copy Markdown
Collaborator

CheckMarkerUpdateJob logged "Could not create markers. The marker creator is null." at ERROR level but wrapped in if (LOGGER.isDebugEnabled()), so in production (debug off) a genuine failure to create markers was silently swallowed. Removed the isDebugEnabled guard — that guard is for gating expensive debug/trace output, not real errors.

Found by a repo-wide inconsistency sweep.

🤖 Generated with Claude Code

… enabled

CheckMarkerUpdateJob logged "Could not create markers. The marker creator is
null." at ERROR level but only inside `if (LOGGER.isDebugEnabled())`, so in
production (debug off) a genuine failure to create markers was silent. Remove
the isDebugEnabled guard — isDebugEnabled is for gating expensive debug/trace
output, not real errors.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant