summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/build_environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py
index cab455695e..cb3bc6169e 100644
--- a/lib/spack/spack/build_environment.py
+++ b/lib/spack/spack/build_environment.py
@@ -667,7 +667,7 @@ def fork(pkg, function, dirty, fake):
except StopIteration as e:
# StopIteration is used to stop installations
# before the final stage, mainly for debug purposes
- tty.msg(e.message)
+ tty.msg(e)
child_pipe.send(None)
except BaseException: