Skip to content

Commit c13d4b0

Browse files
authored
[FIX] Fix logger error opening second instance of Heroic (#4812)
* [FIX] Fix logger error opening second instance of Heroic * Replace log message with 'console.log'
1 parent 81f8cb6 commit c13d4b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ const processZoomForScreen = (zoomFactor: number) => {
317317
}
318318

319319
if (!gotTheLock) {
320-
logInfo('Heroic is already running, quitting this instance')
320+
console.log('Heroic is already running, quitting this instance')
321321
app.quit()
322322
} else {
323323
app.on('second-instance', (event, argv) => {

0 commit comments

Comments
 (0)