...
Code Block |
---|
language | java |
---|
title | errorHandler.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 |
---|
language | java |
---|
title | config.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 |
---|
language | java |
---|
title | ErrorLoggingConstants.java |
---|
|
public static final String[] ERRROR_LOGGING_DEDAULT_IGNORED_EXCEPTION = new String[] {
"org.openmrs.api.APIAuthenticationException", "org.openmrs.api.context.ContextAuthenticationException" };
... |