You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been breaking my head over this issue.
The weird part is that Sentry is able to catch these errors even though they are not visible in the logs.
What happened?
Calling
Craft::error()
appears to have no effect in Craft 5.0.5.Steps to reproduce
devMode
.Craft::error('Test error')
andCraft::info('Test info')
in theinit()
method.web-****-**-**.log
file.Expected behavior
Both test messages should be written to the log file.
Actual behaviour
Only the info message is written to the log file.
Craft CMS version
5.0.5
The text was updated successfully, but these errors were encountered: