Skip to content

Commit

Permalink
re-activate error traces
Browse files Browse the repository at this point in the history
  • Loading branch information
alberts-tid committed Jul 9, 2014
1 parent 62c09df commit b2d2bb9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
public class TraceInterceptor extends CustomizableTraceInterceptor {

protected void writeToLog(Log logger, String message, Throwable ex) {
if (message.contains("ENTER")) {
if(ex!=null){
logger.error(ex);
}else if (message.contains("ENTER")) {
logger.info(message);
} else if (message.contains("EXIT")) {
logger.debug(message);
Expand Down

0 comments on commit b2d2bb9

Please sign in to comment.