Perhaps you should call `logging.critical` or `logging.error` for something like this, instead of `logging.debug`?