Recover added after error.
parent
dd58dde42f
commit
a6b296b79a
|
@ -55,7 +55,8 @@ func (b *AbstractBridge) configureIpAndBridgeUp() {
|
||||||
defer func() {
|
defer func() {
|
||||||
if r := recover(); r != nil {
|
if r := recover(); r != nil {
|
||||||
|
|
||||||
fmt.Println("An error happened in <configureIpAndBridgeUp()>, but Zoreide recovered. Error was: ", r)
|
fmt.Println("An error happened in <configureIpAndBridgeUp()>, but Zoreide recovered. ")
|
||||||
|
fmt.Println("Error was: ", r)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue