Recover added after error.

main
Uriel Fanelli 7 months ago
parent dd58dde42f
commit a6b296b79a

@ -55,7 +55,8 @@ func (b *AbstractBridge) configureIpAndBridgeUp() {
defer func() {
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…
Cancel
Save