Skip to content

Commit 17aea14

Browse files
riseshiaclaude
andcommitted
Always emit error-level logs regardless of debug mode
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f80de40 commit 17aea14

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/type_guessr/core/logger.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ module Logger
1919
# @param msg [String] the error message
2020
# @param exception [Exception, nil] optional exception for backtrace
2121
module_function def error(msg, exception = nil)
22-
return unless debug_enabled?
23-
2422
warn "[TypeGuessr:ERROR] #{msg}"
2523
return unless exception
2624

0 commit comments

Comments
 (0)