Add proper error management to monitoring daemon
authorMichele Tartara <mtartara@google.com>
Wed, 24 Apr 2013 10:20:29 +0000 (10:20 +0000)
committerMichele Tartara <mtartara@google.com>
Tue, 30 Apr 2013 07:57:03 +0000 (09:57 +0200)
commite580e9f7d26923514b7d3055395b6c670108ff16
treee0f63fbb4ccc91e44f9c4df58357c1fd21e6747b
parent6327828ed03d61f5dc2b35c92a9d8bce3d9c7529
Add proper error management to monitoring daemon

Produce a personalized 404 error when the requested resource is not available.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
src/Ganeti/Monitoring/Server.hs