[Xmonad] darcs patch: clean up error handler