Skip to content

Commit

Permalink
remove logger
Browse files Browse the repository at this point in the history
  • Loading branch information
nicole-obrien committed Jan 12, 2024
1 parent f5c1ed7 commit bb4c2a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions packages/desktop/lib/electron/processes/main.process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ import { getMachineId } from '../utils/os.utils'
import type { ILedgerProcessMessage } from '../interfaces/ledger-process-message.interface'
import { ensureDirectoryExistence } from '../utils/file-system.utils'

const logger = require('electron').remote.require('./logger');

initialiseAnalytics()

/*
Expand Down Expand Up @@ -74,7 +72,6 @@ let lastError = {}
function handleError(errorType, error, isRenderProcessError?): void {
if (app.isPackaged) {
const errorMessage = error.message || error.reason || error
logger.log(errorType, error, isRenderProcessError)
if (!shouldReportError(errorMessage)) {
console.error(error)
return
Expand Down
7 changes: 0 additions & 7 deletions packages/desktop/lib/electron/utils/logger.utils.ts

This file was deleted.

0 comments on commit bb4c2a8

Please sign in to comment.