Skip to content

Commit 8f54e12

Browse files
authored
Merge pull request #153 from PhoenixPeca/patch-1
Fix #152 - Update Monolog call
2 parents d00e9b5 + 52a76b5 commit 8f54e12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GeoIP.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ private function find($ip = null)
161161
if ($this->config('log_failures', true) === true) {
162162
$log = new Logger('geoip');
163163
$log->pushHandler(new StreamHandler(storage_path('logs/geoip.log'), Logger::ERROR));
164-
$log->addError($e);
164+
$log->error($e);
165165
}
166166
}
167167
}

0 commit comments

Comments
 (0)