aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bb/command.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py
index 3f28bca25..39a2e18a0 100644
--- a/lib/bb/command.py
+++ b/lib/bb/command.py
@@ -69,6 +69,7 @@ class Command:
except CommandError as exc:
return None, exc.args[0]
except Exception:
+ import traceback
return None, traceback.format_exc()
else:
return result, None