fix: logs format

This commit is contained in:
Shivam Mishra
2025-03-13 11:52:07 +05:30
parent f6e2bf1247
commit a35b3a343e
2 changed files with 3 additions and 13 deletions
@@ -83,7 +83,7 @@ class BaseActionCableConnector {
if (this.isAValidEvent(data)) {
if (this.events[event] && typeof this.events[event] === 'function') {
window.logrelic(
`processing actioncable ${event} with ${data} at ${Number(Date.now())}`
`processing actioncable ${event} with ${JSON.stringify(data, null, 2)} at ${Number(Date.now())}`
);
this.events[event](data);
}