Adding sentry.

This commit is contained in:
Quentin DECAUNES 2019-07-25 13:51:32 +02:00
parent 2a374f7302
commit 36a2e72fe8
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./node_modules/uikit/dist/css/uikit.min.css" /> <link rel="stylesheet" href="./node_modules/uikit/dist/css/uikit.min.css" />
<script src="https://browser.sentry-cdn.com/5.5.0/bundle.min.js" crossorigin="anonymous"></script>
<script src="./node_modules/uikit/dist/js/uikit.min.js"></script> <script src="./node_modules/uikit/dist/js/uikit.min.js"></script>
<script src="./node_modules/uikit/dist/js/uikit-icons.min.js"></script> <script src="./node_modules/uikit/dist/js/uikit-icons.min.js"></script>
<style> <style>

View File

@ -1,4 +1,5 @@
ready(function(){ ready(function(){
Sentry.init({ dsn: 'https://f80fd3ea297141a8bdc04ce812762f39@sentry.io/1513427' });
const settings = require('electron-settings'); const settings = require('electron-settings');
const fixPath = require('fix-path'); const fixPath = require('fix-path');
document.isStarting = true; document.isStarting = true;