Revision 0db7ac4d

b/daemons/ganeti-masterd
288 288
        msg = "ganeti exception %s" % err
289 289
        item.SetStatus(opcodes.Job.STATUS_FAIL, result=[msg])
290 290
        print msg
291
      except Exception, err:
292
        msg = "unhandled exception %s" % err
293
        item.SetStatus(opcodes.Job.STATUS_FAIL, result=[msg])
294
        print msg
295
      except:
296
        msg = "unhandled unknown exception"
297
        item.SetStatus(opcodes.Job.STATUS_FAIL, result=[msg])
298
        print msg
299

  
291 300
    finally:
292 301
      #utils.Unlock('cmd')
293 302
      #utils.LockCleanup()

Also available in: Unified diff