We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee56dd4 commit 76f8befCopy full SHA for 76f8bef
src/index.ts
@@ -128,6 +128,7 @@ if (!amMainInstance) {
128
app.quit();
129
} else {
130
const logStream = createWriteStream(path.join(LOGS_PATH, 'last-run.log'));
131
+ logStream.write(`--- Launching HTTP Toolkit desktop v${DESKTOP_VERSION} ---\n`);
132
133
const args = yargs
134
.option('with-forwarding', {
@@ -253,6 +254,7 @@ if (!amMainInstance) {
253
254
}
255
256
function showErrorAlert(title: string, body: string) {
257
+ logStream.write(`ALERT: ${title}: ${body}\n`);
258
console.warn(`${title}: ${body}`);
259
dialog.showErrorBox(title, body);
260
0 commit comments