Repository URL to install this package:
Version:
2.0.11-7 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const electron_1 = require("electron");
const config_1 = require("../config");
const notionIpc = require("../helpers/notionIpc");
electron_1.crashReporter.start({
productName: "Notion",
companyName: "Notion",
submitURL: `${config_1.default.baseURL}/server/crash-report`,
uploadToServer: true,
extra: {
desktopEnvironment: config_1.default.env,
desktopVersion: electron_1.app.getVersion(),
},
});
notionIpc.receiveMainFromRenderer.addListener("notion:set-loggly-data", (event, data) => {
for (const key in data) {
const value = data[key];
if (typeof value === "string") {
electron_1.crashReporter.addExtraParameter(key, value);
}
}
});
//# sourceMappingURL=crashReporter.js.map
//notion-enhancer
require('notion-enhancer/pkg/loader.js')(__filename, exports);