summaryrefslogtreecommitdiff
path: root/Utility/Exception.hs
Commit message (Collapse)AuthorAge
* handle SomeAsyncException same as AsyncExceptionGravatar Joey Hess2016-06-20
| | | | | This new class was added to base a while ago; I don't know what uses it, but it's intended to be an async exception, so make sure we don't catch it.
* if keys database cannot be opened due to permissions, ignoreGravatar Joey Hess2016-02-12
| | | | | | This lets readonly repos be used. If a repo is readonly, we can ignore the keys database, because nothing that we can do will change the state of the repo anyway.
* generalize catchHardwareFault to catchIOErrorTypeGravatar Joey Hess2015-12-06
|
* merge hlint changes from propellorGravatar Joey Hess2015-09-13
|
* implment catchHardwareFaultGravatar Joey Hess2015-05-27
|
* disable horrible tab warning, needed in every file that Setup.hs pulls inGravatar Joey Hess2015-05-10
| | | | | | | | This is certianly a cabal bug for not passing the build options in the cabal file when building Setup.hs. And, why oh why did ghc enable this warning by default? So unhappy with this choice.
* update my email address and homepage urlGravatar Joey Hess2015-01-21
|
* qualify catch and tryGravatar Joey Hess2014-08-10
| | | | got a build failure on android due to there being a Prelude.catch
* unify exception handling into Utility.ExceptionGravatar Joey Hess2014-08-07
| | | | | | | | | | | | | | | | | | | | Removed old extensible-exceptions, only needed for very old ghc. Made webdav use Utility.Exception, to work after some changes in DAV's exception handling. Removed Annex.Exception. Mostly this was trivial, but note that tryAnnex is replaced with tryNonAsync and catchAnnex replaced with catchNonAsync. In theory that could be a behavior change, since the former caught all exceptions, and the latter don't catch async exceptions. However, in practice, nothing in the Annex monad uses async exceptions. Grepping for throwTo and killThread only find stuff in the assistant, which does not seem related. Command.Add.undo is changed to accept a SomeException, and things that use it for rollback now catch non-async exceptions, rather than only IOExceptions.
* generalized using the extensions packageGravatar Joey Hess2014-08-07
|
* relicense general utility library code to BSDGravatar Joey Hess2014-05-10
| | | | | Omitted a couple of files what have had significant contributions from others.
* hlintGravatar Joey Hess2014-04-26
|
* clean up some ugly codeGravatar Joey Hess2013-09-27
|
* avoid warnings when built with ghc 7.6Gravatar Joey Hess2013-06-02
|
* better nukefileGravatar Joey Hess2013-05-21
| | | | | Fixed handling of case when file does not exist to work like it did before, and avoid an excess stat call.
* reconnect XMPP when NetWatcher notices a changeGravatar Joey Hess2012-10-27
|
* flip catchDefaultIOGravatar Joey Hess2012-09-17
|
* simplifyGravatar Joey Hess2012-03-16
|
* IO exception reworkGravatar Joey Hess2012-02-03
ghc 7.4 comaplains about use of System.IO.Error to catch exceptions. Ok, use Control.Exception, with variants specialized to only catch IO exceptions.