diff --git a/macrovision.js b/macrovision.js index 76f69064..d30df636 100644 --- a/macrovision.js +++ b/macrovision.js @@ -5361,12 +5361,13 @@ function copyScreenshot() { new ClipboardItem({ "image/png": blob }) - ]).then(e => + ]).then(e => toast("Copied to clipboard!")) .catch(e => { - toast("Couldn't write to the clipboard. Make sure the screenshot completes before switching tabs.") - }) - }); + console.error(e); + toast("Couldn't write to the clipboard. Make sure the screenshot completes before switching tabs.") + }) + }); drawScales(false); }