🍙 removed console.log s

This commit is contained in:
Shiba 2022-09-28 14:38:37 +03:00
parent ca65a0288d
commit 529931c43b
3 changed files with 0 additions and 3 deletions

View file

@ -75,7 +75,6 @@ async function get(id: string): Promise<string | null | undefined> {
await clearExpired()
return undefined
}
console.log('cache found', id, response.value)
return response.value
}

View file

@ -20,7 +20,6 @@ chrome.runtime.onMessage.addListener(({ method, data }, sender, sendResponse) =>
const params: Parameters<typeof resolveById> = JSON.parse(data)
// Don't create a new Promise for same ID until on going one is over.
const promise = onGoingLbryPathnameRequest[data] ?? (onGoingLbryPathnameRequest[data] = resolveById(...params))
console.log('lbrypathname request', params, await promise)
resolve(await promise)
} catch (error) {
sendResponse(`error: ${(error as any).toString()}`)

View file

@ -231,7 +231,6 @@ import { getExtensionSettingsAsync, getSourcePlatfromSettingsFromHostname, getTa
console.error("Background error on:", params)
throw new Error(`Background error. ${response ?? ''}`)
}
console.log(response)
return response ? JSON.parse(response) : null
}