Add a cause message to the StopBuild exception.

This commit is contained in:
Matthieu Gautier
2019-09-04 14:56:08 +02:00
parent 0f13d99159
commit d86bf75315
2 changed files with 8 additions and 3 deletions

View File

@ -204,6 +204,7 @@ class Builder:
platform.clean_intermediate_directories()
else:
print("SKIP")
except StopBuild:
except StopBuild as e:
print(e)
sys.exit("Stopping build due to errors")