change many str(e) to repr(e) as some exceptions were cryptic
it's often valuable to see the type of the exception (especially as for some exceptions str(e) == '')
This commit is contained in:
@@ -292,6 +292,6 @@ class Notifier(SynchronizerBase):
|
||||
async with session.post(url, json=data, headers=headers) as resp:
|
||||
await resp.text()
|
||||
except Exception as e:
|
||||
self.logger.info(str(e))
|
||||
self.logger.info(repr(e))
|
||||
else:
|
||||
self.logger.info(f'Got Response for {addr}')
|
||||
|
||||
Reference in New Issue
Block a user