Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
titleerrorHandler.jsp
...
<openmrs:extensionPoint pointId="org.openmrs.errorHandler" type="html" />
...

Ignored exceptions

To allow admin to set which errors to ignore to prevent large numbers of errors getting into table in the Error Logging Module is used manage page:

Image Added

Ignored exceptions are saved in the global properties:

Code Block
languagejava
titleconfig.xml
...
    <globalProperty>
        <property>${project.parent.artifactId}.ignore.errors</property>
        <defaultValue></defaultValue>
        <description>Allows admin to set which errors to ignore to prevent large numbers of errors getting into table</description>
    </globalProperty>
...

Authentication related exceptions are ignored in the module by default.

Code Block
languagejava
titleErrorLoggingConstants.java

public static final String[] ERRROR_LOGGING_DEDAULT_IGNORED_EXCEPTION = new String[] {
	        "org.openmrs.api.APIAuthenticationException", "org.openmrs.api.context.ContextAuthenticationException" };
...