summaryrefslogtreecommitdiff
path: root/src/Command/Run.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Command/Run.hs')
-rw-r--r--src/Command/Run.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Command/Run.hs b/src/Command/Run.hs
index 09a814e..0ea73b5 100644
--- a/src/Command/Run.hs
+++ b/src/Command/Run.hs
@@ -320,6 +320,8 @@ cmdRun (RunCommand RunOptions {..} args) = do
Left err -> do
forM_ (outputTerminal output) $ flip newLine $
"\ESC[91m" <> shortCid <> "\ESC[0m" <> " " <> shortDesc <> " \ESC[91m" <> T.pack err <> "\ESC[0m"
+ outputEvent output $ TestMessage $ "jobset-fail " <> T.pack err
+ outputEvent output $ LogMessage $ "Jobset failed: " <> shortCid <> " " <> T.pack err
loop names (Just ( rest, next ))
handle @SomeException (\_ -> cancelAllJobs mngr) $ do