Skip to content

Commit

Permalink
explicitly convert all 'messages' to string bevor sending them to the…
Browse files Browse the repository at this point in the history
… backend
  • Loading branch information
tsalzinger committed Dec 17, 2014
1 parent e87e2e0 commit bdf82a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/javascript/cat-http-appender.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ angular
logs.push({
level: level,
group: group,
message: message,
message: typeof message === 'string' ? message : message.toString(),
memorySizes: memorySizes,
timestamp: new Date().getTime()
});
Expand Down

0 comments on commit bdf82a0

Please sign in to comment.