#2866 closed defect (fixed)

MgException messages are lost in mapagent

Reported by: jng Owned by: jng
Priority: medium Milestone: 4.0
Component: Map Agent Version:
Severity: major Keywords:
Cc: External ID:

Description (last modified by jng)

The recent RFC to unify all exceptions to a single MgException has subtly broken error message display in the mapagent.

Known issues:

  • The exception type MgException is being set as the status message. This should now be the code of the caught MgException
  • It is failing to resolve the localized message when displaying the exception message. Actually it's just that the failure to retrieve the localized message for exceptions thrown by the implementation of #2864 that is masked by a separate error that is not being surfaced.

Change History (2)

comment:1 by jng, 14 months ago

Description: modified (diff)

comment:2 by jng, 14 months ago

Resolution: fixed
Status: assignedclosed

In 10040:

Use the exception code as the http status message and fix MgPermissionDenied exceptions being thrown with no arguments

Fixes #2866

Note: See TracTickets for help on using tickets.