Ubuntu Pastebin

Paste from sergiusens at Wed, 28 Sep 2016 13:02:16 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
diff --git a/snapcraft/main.py b/snapcraft/main.py
index 4ba6f18..62a5f31 100755
--- a/snapcraft/main.py
+++ b/snapcraft/main.py
@@ -218,8 +218,7 @@ def main(argv=None):
     try:
         return run(args, project_options)
     except Exception as e:
-        if args['--debug']:
-            raise
+        raise
 
         logger.error(str(e))
         sys.exit(1)
Download as text