diff --git a/pikatasks/__init__.py b/pikatasks/__init__.py
index 0c865266e19f79abe60f8b5c9dc9bf7993de4ebe..ab74302f61baebf6c7c4952d62ed0228fc327723 100644
--- a/pikatasks/__init__.py
+++ b/pikatasks/__init__.py
@@ -49,6 +49,7 @@ def run(_task_name, **kwargs):
                 properties=pika.BasicProperties()
             )
     except Exception as e:
+        logger.error("{}: {}".format(e.__class__.__name__, str(e)))
         raise RPCMessageQueueError(e)
 
 
@@ -103,6 +104,7 @@ def rpc(_task_name, **kwargs):
             channel.start_consuming()
             channel.close()  # after stopped consuming by either of the callbacks
     except Exception as e:
+        logger.error("{}: {}".format(e.__class__.__name__, str(e)))
         exception = RPCMessageQueueError(e)
     # done, return the result or indicate a problem
     if exception: