0
Fork 0
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:
Rish 2020-04-21 15:27:57 +05:30
parent dbb041e214
commit ab3fe634f4

View file

@ -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);
}
}