convert some error to giveup
error has a backtrace, but these are non-internal errors, so a backtrace is unlikely to be useful
This commit is contained in:
parent
ab3c13c021
commit
a62f2e141b
3 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@ runBool params repo = assertLocal repo $
|
|||
run :: [CommandParam] -> Repo -> IO ()
|
||||
run params repo = assertLocal repo $
|
||||
unlessM (runBool params repo) $
|
||||
error $ "git " ++ show params ++ " failed"
|
||||
giveup $ "git " ++ show params ++ " failed"
|
||||
|
||||
{- Runs git and forces it to be quiet, throwing an error if it fails. -}
|
||||
runQuiet :: [CommandParam] -> Repo -> IO ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue