Improve error output
This commit is contained in:
parent
233c78f775
commit
0355b8e1db
|
@ -17,7 +17,7 @@ let
|
||||||
rm
|
rm
|
||||||
(\logFile -> do
|
(\logFile -> do
|
||||||
say [i|Trying to build ${name} config for #{hostname}. Logging to #{logFile}.|]
|
say [i|Trying to build ${name} config for #{hostname}. Logging to #{logFile}.|]
|
||||||
onException (command &> Append logFile &!> Append logFile) (cat logFile))
|
onException (command &> Append logFile &!> Append logFile) (say [i|Buildfailure for ${name} config for #{hostname}|] >> cat logFile))
|
||||||
say [i|Build of ${name} config for #{hostname} was successful.|]
|
say [i|Build of ${name} config for #{hostname} was successful.|]
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
|
|
Loading…
Reference in a new issue