lib/network.rb in forj-0.0.35 vs lib/network.rb in forj-0.0.36

- old
+ new

@@ -225,10 +225,10 @@ end # Router interface to connect to the network def create_router_interface(subnet, router) - raise "Internal Error: subnet/router object not passed." if not subnet or not router + Logging.fatal(1, "Internal Error: subnet/router object not passed.") if not subnet or not router Logging.debug("Attaching subnet '%s' to router '%s'" % [subnet.name, router.name]) begin router.add_interface(subnet.id, nil) rescue => e