diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-23 21:53:44 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-23 21:53:44 -0400 |
commit | 06abb5cd9c43f5108ac438c2cb5ae3dbbca2f98f (patch) | |
tree | 490fc1e0392488437b875402f442bf2896920caa /cbc/cli/build.py | |
parent | b413141d1652d9935d433c081adbd97b3c091625 (diff) | |
download | cbc-06abb5cd9c43f5108ac438c2cb5ae3dbbca2f98f.tar.gz |
Maybe improved process handling a bit
Diffstat (limited to 'cbc/cli/build.py')
-rwxr-xr-x | cbc/cli/build.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cbc/cli/build.py b/cbc/cli/build.py index ce5fa62..ad0151a 100755 --- a/cbc/cli/build.py +++ b/cbc/cli/build.py @@ -1,9 +1,10 @@ #!/usr/bin/env python import argparse import os +import traceback import conda_build.metadata import cbc - +from cbc.exceptions import CondaBuildError def main(): no_upload = '' @@ -80,8 +81,8 @@ def main(): if not built: print('Failure occurred building: {0}'.format(conda_metadata.dist())) continue - except cbc.exceptions.CondaBuildError as cbe: - print(cbe) + except CondaBuildError as cbe: + print(traceback.format_exc()) continue print('Installing Conda package...') |