improving console dumps

This commit is contained in:
msramalho
2023-03-07 22:35:19 +00:00
parent f2766b994c
commit 821cec22ad
4 changed files with 3 additions and 3 deletions

View File

@@ -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 => {