- BootAPI.call_api_function( vars, "BootUpdateNode", (update_vals,) )
-
- log.write( "Successfully updated boot state for this node at PLC\n" )
-
+ try:
+ BootAPI.call_api_function( vars, "BootUpdateNode", (update_vals,) )
+ log.write( "Successfully updated boot state for this node at PLC\n" )
+ except BootManagerException, e:
+ log.write( "Unable to update boot state for this node at PLC: %s.\n" % e )