logging.exception pls. same with other log lines inside exception handlers