Skip to content

Commit 372b910

Browse files
author
Sebi Nemeth
committed
log at encode error
1 parent c7283f7 commit 372b910

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class LiveTranslatorManager {
154154
}));
155155
}
156156
catch (exception) {
157-
console.warn(path, exception);
157+
console.warn(message, values, path, self._options.i18n.locale, exception);
158158
}
159159
return (original && meta && self._enabled) ? [meta, ...original] : original;
160160
},

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class LiveTranslatorManager {
180180
}),
181181
)
182182
} catch (exception) {
183-
console.warn(path, exception)
183+
console.warn(message, values, path, self._options.i18n.locale, exception)
184184
}
185185

186186
return (original && meta && self._enabled) ? [meta, ...original] : original

0 commit comments

Comments
 (0)