mushorg / conpot

ICS/SCADA honeypot
GNU General Public License v2.0
1.22k stars 413 forks source link

Change log level from exception to error outside of exception handlers #477

Closed htdge closed 4 years ago

htdge commented 4 years ago

logger.exception() should only be used inside of exception-handlers

This method should only be called from an exception handler. Python Docs

xandfury commented 4 years ago

LGTM :+1: Thanks for the contribution :slightly_smiling_face: