fix(client): log to console saga
This commit is contained in:
@@ -77,7 +77,7 @@ const mountFrame = document => ({ element, ...rest }) => {
|
||||
const buildProxyConsole = proxyLogger => ctx => {
|
||||
const oldLog = ctx.window.console.log.bind(ctx.window.console);
|
||||
ctx.window.console.log = function proxyConsole(...args) {
|
||||
proxyLogger.next(args);
|
||||
proxyLogger.put(args);
|
||||
return oldLog(...args);
|
||||
};
|
||||
return ctx;
|
||||
|
Reference in New Issue
Block a user