Further fixes for new-style exception handling
authorIustin Pop <iustin@google.com>
Mon, 30 Apr 2012 23:53:59 +0000 (16:53 -0700)
committerIustin Pop <iustin@google.com>
Tue, 1 May 2012 17:11:27 +0000 (10:11 -0700)
commit79ac58fa1be8fe2ce30f237295e19b011e80e0e9
treecb9d44e1d6e1b5567a5b3cbd131c23a848066ad8
parent4023aa722753a0cf9096a1b3e71f9cb9578ba823
Further fixes for new-style exception handling

Commit 30d25dd8 moved the htools code to new-style exception handling,
but the hconfd code hasn't been, which fails when compiling on newer
GHC versions.

This patch does the rest of the move; however, the situation is not
very nice, we should have a better way to handle this (introduce
catchIO? or something like that).

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
htools/Ganeti/Confd/Server.hs
htools/Ganeti/Daemon.hs
htools/Ganeti/Ssconf.hs