Skip to content

Commit 52a76b5

Browse files
authored
update to new pattern
1 parent d00e9b5 commit 52a76b5

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)