better display of thrown errors
This commit is contained in:
parent
82eb082ab9
commit
d31b84c777
4 changed files with 15 additions and 5 deletions
|
@ -87,7 +87,9 @@ tryRun' state errnum (a:as) = do
|
|||
a
|
||||
case result of
|
||||
Left err -> do
|
||||
Annex.eval state $ showErr err
|
||||
Annex.eval state $ do
|
||||
showEndFail
|
||||
showErr err
|
||||
tryRun' state (errnum + 1) as
|
||||
Right (True,state') -> tryRun' state' errnum as
|
||||
Right (False,state') -> tryRun' state' (errnum + 1) as
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue