diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-10-02 16:55:48 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-10-02 16:55:48 +0100 |
commit | 11cd3e1fc34487024434cd796b1b7246ded0e250 (patch) | |
tree | 2efe081997d7fe679cd2afbd4defc8a3067a900b /import | |
parent | 4754ef751279d6c844c098c0499d6d41fdf2283d (diff) | |
download | morph-11cd3e1fc34487024434cd796b1b7246ded0e250.tar.gz |
import: Log subprocess error to log file immediately
Otherwise people who are tailing the log file will not see any error message.
Diffstat (limited to 'import')
-rw-r--r-- | import/main.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/import/main.py b/import/main.py index 5dfcbffb..41e2e494 100644 --- a/import/main.py +++ b/import/main.py @@ -516,6 +516,7 @@ class BaserockImportApplication(cliapp.Application): except BaserockImportException as e: # Don't print the exception on stdout; the error messages will # have gone to stderr already. + logging.error(str(e)) errors[current_item] = e build_deps = runtime_deps = {} |