mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-19 06:14:04 +00:00
Logging
This commit is contained in:
@ -1,6 +1,12 @@
|
||||
import './reset.css';
|
||||
import './style.css';
|
||||
import App from './app.svelte';
|
||||
import { LogError } from '../wailsjs/runtime/runtime';
|
||||
|
||||
window.addEventListener('unhandledrejection', event => {
|
||||
LogError('Unhandled Rejection in JS! Reason:');
|
||||
LogError(String(event.reason));
|
||||
});
|
||||
|
||||
const app = new App({ target: document.getElementById('app') });
|
||||
|
||||
|
Reference in New Issue
Block a user