diff --git a/ohpc_account_create.py b/ohpc_account_create.py
index 46d2d0cca95d7156eec3d8479e8f61496975a71c..4504702f8d8f8d611b8db1ab4b52811b08ec6ade 100644
--- a/ohpc_account_create.py
+++ b/ohpc_account_create.py
@@ -20,7 +20,8 @@ def ohpc_account_create(ch, method, properties, body):
         print("[{}]: User {} has been added".format(task, username))
         success = True
     except:
-        print("Failed to create user")
+        e = sys.exc_info()[0]
+        print("[{}]: Error: {}".format(task, e))
 
     ch.basic_ack(delivery_tag=method.delivery_tag)
     msg['uid'] = getpwnam(username).pw_uid
diff --git a/ood_account_create.py b/ood_account_create.py
index 91ab36aee7833eafb4d5e6df5acc7dd080a28ba6..1ff9cc9fd8a61df98ae1473c20e01480f6e4aa90 100644
--- a/ood_account_create.py
+++ b/ood_account_create.py
@@ -22,7 +22,8 @@ def ood_account_create(ch, method, properties, body):
         print("[{}]: User {} has been added".format(task, username))
         success = True
     except:
-        print("Failed to create user")
+        e = sys.exc_info()[0]
+        print("[{}]: Error: {}".format(task, e))
 
     ch.basic_ack(delivery_tag=method.delivery_tag)
 
diff --git a/slurm_agent.py b/slurm_agent.py
index 26aabe2a6587b4f70c142f9e25206d690db288cc..221dc8d84e5891c5318e5074ff77fd269766d349 100755
--- a/slurm_agent.py
+++ b/slurm_agent.py
@@ -20,8 +20,9 @@ def slurm_account_create(ch, method, properties, body):
         print("SLURM account for user {} has been added".format(username))
         success = True
     except:
-        print("Failed to create user")
-    
+        e = sys.exc_info()[0]
+        print("[{}]: Error: {}".format(task, e))
+
     ch.basic_ack(delivery_tag=method.delivery_tag)
 
     # send confirm message