Skip to content
This repository was archived by the owner on Dec 23, 2022. It is now read-only.

Commit 27f04cf

Browse files
committed
20191219 - This is 1.8.0
1 parent 670f74e commit 27f04cf

File tree

5 files changed

+2051
-2504
lines changed

5 files changed

+2051
-2504
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<a href="https://wexond.net"><img src="https://raw.githubusercontent.com/yafp/ttth/master/.github/logo/256x256.png" width="256"></a>
2+
<a href="#"><img src="https://raw.githubusercontent.com/yafp/ttth/master/.github/logo/256x256.png" width="256"></a>
33
</p>
44

55
<div align="center">

app/js/ttth/crashReporting.js

+13-13
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
// Error Handling using: crashReporter (https://electronjs.org/docs/api/crash-reporter)
44
// ----------------------------------------------------------------------------
55
//
6-
const { crashReporter } = require("electron");
6+
const { crashReporter } = require('electron')
77
crashReporter.start({
8-
productName: "ttth",
9-
companyName: "yafp",
10-
submitURL: "https://sentry.io/api/1757940/minidump/?sentry_key=bbaa8fa09ca84a8da6a545c04d086859",
11-
uploadToServer: false
12-
});
8+
productName: 'ttth',
9+
companyName: 'yafp',
10+
submitURL: 'https://sentry.io/api/1757940/minidump/?sentry_key=bbaa8fa09ca84a8da6a545c04d086859',
11+
uploadToServer: false
12+
})
1313
// To simulate a crash - execute: process.crash();
1414

1515
// ----------------------------------------------------------------------------
@@ -19,19 +19,19 @@ crashReporter.start({
1919
// https://sentry.io/organizations/yafp/
2020
// https://docs.sentry.io/platforms/javascript/electron/
2121
//
22-
const Sentry = require("@sentry/electron");
22+
const Sentry = require('@sentry/electron')
2323
Sentry.init({
24-
dsn: "https://[email protected]/1757940"
25-
});
24+
dsn: 'https://[email protected]/1757940'
25+
})
2626
//
2727
// simple way to force a crash:
28-
//myUndefinedFunction();
28+
// myUndefinedFunction();
2929

30-
Sentry.captureMessage("Init");
30+
Sentry.captureMessage('Init')
3131

3232
// ----------------------------------------------------------------------------
3333
// Error Handling using: electron-unhandled (https://github.com/sindresorhus/electron-unhandled)
3434
// ----------------------------------------------------------------------------
3535
//
36-
//const unhandled = require("electron-unhandled");
37-
//unhandled();
36+
// const unhandled = require("electron-unhandled");
37+
// unhandled();

0 commit comments

Comments
 (0)