Add logger to the settings, this helps a lot for debugging. Now you can
print to the console with logging.error("message")