Made the console log handler output exceptions