Ticket #380 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Improve load error handling and recovery

Reported by: mekstran Assigned to: bshearer
Priority: major Milestone: Goanna release 0.5
Component: Goanna Version:
Keywords: Cc:
Blocking:

Description

There are several cases where, if a file is somewhat corrupted, Goanna will abort on the entire file. Example: constructing network devices from nodes. Goanna should rather continue loading, but log a warning. This will require some exception handling when said sub-objects are created, and subsequent logging of the warnings.

This ticket should not be started until #376 is finished (or at least well underway).

Change History

12/19/06 22:06:37 changed by mekstran

One further comment: Only load_error exceptions should be recovered from. Other exceptions represent internal errors that should abort the entire open operation.

12/20/06 16:19:48 changed by mekstran

  • milestone set to Goanna release 0.5.

01/09/07 23:11:58 changed by bshearer

(In [1569]) references #380 now catching load_error in Object::load to prevent topography abort

01/10/07 17:34:07 changed by mekstran

(In [1570]) References #380. Updated to make this thing actually compile, and exhibit correct warning behavior.

01/11/07 22:36:41 changed by bshearer

  • status changed from new to closed.
  • resolution set to fixed.