Added support chat and sentry ignore messages.
This commit is contained in:
@@ -63,7 +63,7 @@ ipcMain.on(
|
||||
);
|
||||
|
||||
const newFilePaths = store.get("filePaths");
|
||||
console.log("newFilePaths", newFilePaths);
|
||||
//console.log("newFilePaths", newFilePaths);
|
||||
|
||||
event.sender.send(
|
||||
ipcTypes.default.fileWatcher.toRenderer.filepathsList,
|
||||
|
||||
@@ -70,8 +70,13 @@ async function StartWatcher() {
|
||||
.on("error", function (error) {
|
||||
log.error("Error in Watcher", error);
|
||||
const b = BrowserWindow.getFocusedWindow();
|
||||
b.webContents.send(ipcTypes.default.fileWatcher.toRenderer.error, error);
|
||||
// Nucleus.track("WATCHER_ERROR", error);
|
||||
if (b) {
|
||||
b.webContents.send(
|
||||
ipcTypes.default.fileWatcher.toRenderer.error,
|
||||
error
|
||||
);
|
||||
}
|
||||
// Nucleus.track("WATCHER_ERROR", error);
|
||||
})
|
||||
.on("ready", onWatcherReady)
|
||||
.on("raw", function (event, path, details) {
|
||||
@@ -111,6 +116,6 @@ exports.StopWatcher = StopWatcher;
|
||||
exports.watcher = watcher;
|
||||
|
||||
async function HandleNewFile(path) {
|
||||
// Nucleus.track("IMPORT_JOB_FROM_WATCHER");
|
||||
// Nucleus.track("IMPORT_JOB_FROM_WATCHER");
|
||||
await ImportJob(path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user