Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion builder/src/Reporting.hs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,15 @@ attemptWithStyle style toReport work =
result <- work `catch` reportExceptionsNicely
case result of
Right a ->
return a
case style of
Silent ->
return a
Json ->
return a
Terminal mvar ->
do
readMVar mvar
return a
Left x ->
case style of
Silent ->
Expand Down