Report bad format string on error
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
parent
45fdebc0fb
commit
5ca878f334
|
@ -571,14 +571,14 @@ public class CustomRequestLog extends ContainerLifeCycle implements RequestLog
|
|||
}
|
||||
else
|
||||
{
|
||||
throw new IllegalStateException("formatString parsing error");
|
||||
throw new IllegalStateException("formatString parsing error: " + formatString);
|
||||
}
|
||||
|
||||
remaining = m.group("REMAINING");
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new IllegalArgumentException("Invalid format string");
|
||||
throw new IllegalArgumentException("Invalid format string: " + formatString);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue