Project

General

Profile

Bug #6811

ERROR conditions converted to structured OO exceptions are not logged in OE

Added by Constantin Asofiei over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:

History

#3 Updated by Constantin Asofiei over 1 year ago

When an an ERROR condition is thrown instead of raised, OE doesn't seem to log it in the appserver. For example, this code:

routine-level on error undo,throw.

def var l as progress.lang.object.
l = new oo.foo().

do on error undo, throw:
  dynamic-invoke(l, "notfound").
  catch ex as progress.lang.error.
     return.
  end.
end.

do on error undo, throw:
  l = get-class("o.notfound").
  catch ex as progress.lang.error.
     return.
  end.
end.

in FWD the ERROR message will be logged.

Also available in: Atom PDF