mirror of
https://github.com/bellingcat/auto-archiver-extension.git
synced 2026-06-13 05:58:34 +03:00
improving console dumps
This commit is contained in:
@@ -11,7 +11,7 @@ const LOGIN_FAILED = `Please login before using this feature.`;
|
||||
chrome.runtime.onMessage.addListener(((r, s, sendResponse) => {
|
||||
processMessages(r, s)
|
||||
.then(response => {
|
||||
console.log(`SUCCESS (${r.action}): ${JSON.stringify(response)}`)
|
||||
console.log(`SUCCESS (${r.action}): ${JSON.stringify(response).slice(0,50)}`)
|
||||
sendResponse({ status: "success", result: response })
|
||||
}
|
||||
).catch(error => {
|
||||
|
||||
Reference in New Issue
Block a user