filter build errors

This commit is contained in:
iko 2020-02-24 20:29:56 +03:00
parent b57d38b161
commit 232979d089

View File

@ -129,7 +129,7 @@ instance Task Build "build-repo" where
return (buildCode, buildOut, buildErr)
case dockerRes of
(ExitFailure n, _, buildErr) -> do
let err = dropWhile (not . isPrint) . BS.unpack $ buildErr
let err = filter isPrint . BS.unpack $ buildErr
logError . T.pack $
"test command for repo " <> show fullRepoName <> " at sha "
<> show sha