Skip to content

Commit

Permalink
re-add log
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
  • Loading branch information
hacdias committed Jan 21, 2022
1 parent 04d48ea commit ee273c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/webui/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ const createWindow = () => {
})

window.webContents.on('unresponsive', async () => {
logger.error('[web ui] the webui became unresponsive')

const opt = showDialog({
title: i18n.t('unresponsiveWindowDialog.title'),
message: i18n.t('unresponsiveWindowDialog.message'),
Expand Down

0 comments on commit ee273c5

Please sign in to comment.