chg: [log] Let the user know which "IP" was not resolved.

pull/97/head
Steve Clement 2019-05-29 10:58:09 +09:00
parent 92b91c5c05
commit a65d2cb233
No known key found for this signature in database
GPG Key ID: 69A20F509BE4AEE9
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class Geo_helper:
self.live_helper.add_to_stream_log_cache('Map', j_to_send)
self.logger.info('Published: {}'.format(json.dumps(to_send)))
except ValueError:
self.logger.warning("can't resolve ip")
self.logger.warning("Can't resolve IP: " + str(supposed_ip))
except geoip2.errors.AddressNotFoundError:
self.logger.warning("Address not in Database")
except InvalidCoordinate: