print SystemExit exception messages instead of using the current build failure text

Signed-off-by: Justin Ramos <justin.ramos@gmail.com>
master
Justin Ramos 7 years ago
parent 46c9ea9403
commit e97df3ad4d
No known key found for this signature in database
GPG Key ID: 4A33DDE9CB944DC3

@ -256,7 +256,9 @@ if __name__ == "__main__":
},
scripts=['src/pybitmessage']
)
except SystemExit:
except SystemExit as err:
print err.message
except:
print "It looks like building the package failed.\n" \
"You may be missing a C++ compiler and the OpenSSL headers."
compilerToPackages()

Loading…
Cancel
Save