Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Create error object in case we cant detect it #240

Merged
merged 5 commits into from
Jul 8, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ref: Move import
  • Loading branch information
HazAT committed Jul 7, 2020
commit 3047d55e29300d221ba5481778bae28d9118141a
2 changes: 1 addition & 1 deletion src/main/integrations/onuncaughtexception.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getCurrentHub, NodeClient } from '@sentry/node';
import { Event, Integration, Severity } from '@sentry/types';
import { dialog } from 'electron';
import { isError } from '@sentry/utils';
import { dialog } from 'electron';

/** Capture unhandled erros. */
export class OnUncaughtException implements Integration {
Expand Down