mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
🐛 Fixed incorrect logging for geolocation error
no issue We were using incorrect method for logging in geolocation warning - `this.logging.warn(err)` - as `this.logging` doesn't exist in this file. Updated to use correct logging method.
This commit is contained in:
parent
dbb041e214
commit
ab3fe634f4
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ module.exports = function MembersApi({
|
|||
} catch (err) {
|
||||
// no-op, we don't want to stop anything working due to
|
||||
// geolocation lookup failing but logs can be useful
|
||||
this.logging.warn(err);
|
||||
common.logging.warn(err);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue