Revision 66932293 snf-cyclades-app/synnefo/logic/callbacks.py
b/snf-cyclades-app/synnefo/logic/callbacks.py | ||
---|---|---|
89 | 89 |
except VirtualMachine.DoesNotExist: |
90 | 90 |
log.error("VM for instance %s with id %d not found in DB.", |
91 | 91 |
msg['instance'], vm_id) |
92 |
except Network.InvalidBackendIdError, Network.DoesNotExist:
|
|
93 |
log.error("Invalid message", msg) |
|
92 |
except (Network.InvalidBackendIdError, Network.DoesNotExist) as e:
|
|
93 |
log.error("Invalid message, can not find network. msg: %s", msg)
|
|
94 | 94 |
return wrapper |
95 | 95 |
|
96 | 96 |
|
Also available in: Unified diff