Skip to content

Commit 657f949

Browse files
fix log by not passing data
1 parent b2d4a18 commit 657f949

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/oc-client.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,9 +382,7 @@ export function createOc(oc) {
382382

383383
return {
384384
fire(key, data) {
385-
logInfo(
386-
`OC event fired: "${key}"${data ? ` with data: ${JSON.stringify(data)}` : ""}`,
387-
);
385+
logInfo(`OC event fired: "${key}"`);
388386
if (listeners[key]) {
389387
for (let cb of listeners[key]) {
390388
cb({ type: key }, data);

0 commit comments

Comments
 (0)