Replace remaining console calls with logger calls

This commit is contained in:
hensm
2020-01-23 01:14:57 +00:00
parent 7f84b90431
commit f6e09ca687
8 changed files with 46 additions and 27 deletions

View File

@@ -1,5 +1,7 @@
"use strict";
import logger from "./logger";
const WEBSOCKET_DAEMON_URL = "ws://localhost:9556";
@@ -164,7 +166,7 @@ async function sendNativeMessage (
});
ws.addEventListener("error", () => {
console.error("fx_cast (Debug): No bridge application found.");
logger.error("No bridge application found.");
reject();
});
});