pretty && extracting new i18n strings

This commit is contained in:
Sebastian 2022-10-23 15:55:37 -03:00
parent 1bf95ef568
commit 4946eb677e
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1
2 changed files with 1449 additions and 851 deletions

View File

@ -316,7 +316,7 @@ async function sendMessageToWalletBackground(
chrome.runtime.sendMessage( chrome.runtime.sendMessage(
{ operation, payload, id: `id_${i++ % 1000}` }, { operation, payload, id: `id_${i++ % 1000}` },
(backgroundResponse) => { (backgroundResponse) => {
console.log("BUG: got response from background", backgroundResponse); logger.trace("BUG: got response from background", backgroundResponse);
if (chrome.runtime.lastError) { if (chrome.runtime.lastError) {
reject(chrome.runtime.lastError.message); reject(chrome.runtime.lastError.message);
@ -379,7 +379,7 @@ function listenToAllChannels(
): void { ): void {
chrome.runtime.onMessage.addListener((m, s, c) => { chrome.runtime.onMessage.addListener((m, s, c) => {
cb(m, s, (apiResponse) => { cb(m, s, (apiResponse) => {
console.log("BUG: sending response to client", apiResponse); logger.trace("BUG: sending response to client", apiResponse);
c(apiResponse); c(apiResponse);
}); });