Skip to content

Commit 2290e27

Browse files
committed
wip
1 parent 19c6c43 commit 2290e27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sentry/Laravel/Logs/LogsHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ protected function doWrite($record): void
112112

113113
private function getLevelFromMonologLevel(int $level): LogLevel
114114
{
115-
switch ($level) {
115+
switch (Level::from($level)) {
116116
case Level::Debug:
117117
return LogLevel::debug();
118118
case Level::Warning:

0 commit comments

Comments
 (0)