Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix GSP error reporting that broke after GrailsLog4jLoggerAdapter change

  • Loading branch information...
commit d763666584992dbf45c7eeddbc9b325a4f4c8e38 1 parent aab239b
@lhotari lhotari authored
View
4 .../src/main/groovy/org/codehaus/groovy/grails/web/errors/GrailsWrappedRuntimeException.java
@@ -133,8 +133,8 @@ public GrailsWrappedRuntimeException(ServletContext servletContext, Throwable t)
LineNumberReader reader = null;
try {
- checkIfSourceCodeAware(cause);
checkIfSourceCodeAware(t);
+ checkIfSourceCodeAware(cause);
if (getLineNumber() > -1) {
String fileLocation;
@@ -244,9 +244,9 @@ private void checkIfSourceCodeAware(Throwable t) {
final SourceCodeAware codeAware = (SourceCodeAware) t;
if (codeAware.getFileName() != null) {
+ fileName = codeAware.getFileName();
if (className == null || UNKNOWN.equals(className)) {
className = codeAware.getFileName();
- fileName = codeAware.getFileName();
}
}
if (codeAware.getLineNumber() > -1) {

0 comments on commit d763666

Please sign in to comment.
Something went wrong with that request. Please try again.