network: Log handler exceptions

PircBot silently discards them unless set to verbose.