summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-10-02 16:55:48 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-10-02 16:55:48 +0100
commit11cd3e1fc34487024434cd796b1b7246ded0e250 (patch)
tree2efe081997d7fe679cd2afbd4defc8a3067a900b
parent4754ef751279d6c844c098c0499d6d41fdf2283d (diff)
downloadmorph-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.
-rw-r--r--import/main.py1
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 = {}