فهرست منبع

ignore but consume errors when refreshing tabs

Gildas 6 سال پیش
والد
کامیت
045e7f5a05
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      extension/core/bg/autosave.js

+ 1 - 1
extension/core/bg/autosave.js

@@ -79,7 +79,7 @@ singlefile.autosave = (() => {
 				const [options, autoSaveEnabled] = await Promise.all([singlefile.config.getOptions(tab.url, true), isEnabled(tab)]);
 				await singlefile.tabs.sendMessage(tab.id, { method: "content.init", autoSaveEnabled, options });
 			} catch (error) {
-				/* ignored */
+				console.log("Content script not injected", "tab #" + tab.id, error); // eslint-disable-line no-console
 			}
 		}));
 	}