diff --git a/mkexp b/mkexp
index ad1067af7c6bfa3bd30dadfc866c516403508eff..69a45ef593c6799e7725e24c60fe45118bb177cf 100755
--- a/mkexp
+++ b/mkexp
@@ -81,7 +81,7 @@ def expand_template(template_dict, template_names):
     try:
         return template_env.select_template(template_names).render(template_dict)
     except TemplatesNotFound as error:
-        feedback.die(error.message)
+        feedback.die(error)
 
 def expand_template_file(template_dict, template_names, expanded_name,
     backup_name, executable):
@@ -92,7 +92,7 @@ def expand_template_file(template_dict, template_names, expanded_name,
         for line in template_env.select_template(template_names).generate(template_dict):
             expanded_file.write(line)
     except TemplatesNotFound as error:
-        feedback.die(error.message)
+        feedback.die(error)
     expanded_file.write(u'\n')
     expanded_file.close()
     if executable:
@@ -416,7 +416,7 @@ try:
     config = ExpConfig(experiment_config_name, extra_dict, config_roots,
                        getexp=args.getexp)
 except ExpConfigError as error:
-    feedback.die(str(error), status=2)
+    feedback.die(error, status=2)
 
 # Create target directories
 
diff --git a/selconfig b/selconfig
index 1134935aa3ba7c3d48bbe04891221017c3cbac69..e4332d5a109e067df60836431d04b6ad589a7e0b 100755
--- a/selconfig
+++ b/selconfig
@@ -47,7 +47,7 @@ try:
         config_file = sys.stdin
     config_data = ConfigObj(config_file, file_error=True)
 except IOError as error:
-    die(error.message)
+    die(error)
 
 # Walk config to the appropriate section and create output structure
 
diff --git a/setconfig b/setconfig
index 211c47312466d71a9b31b0fa55dfdc1b5b12939b..37832cba93321459a37a799467a5972dfa644ec0 100755
--- a/setconfig
+++ b/setconfig
@@ -61,7 +61,7 @@ try:
             add_file = sys.stdin
         config_data.merge(ConfigObj(add_file, file_error=True))
 except IOError as error:
-    die(error.message)
+    die(message)
 
 # Remove keys from --delete command line option