mirror of
https://github.com/ilyakooo0/sc-build.git
synced 2024-11-23 20:39:24 +03:00
filter build errors
This commit is contained in:
parent
b57d38b161
commit
232979d089
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user