Ensure that context is always provided for error logs
This commit is contained in:
parent
7418a5c663
commit
be087c3498
5 changed files with 18 additions and 5 deletions
5
main.js
5
main.js
|
@ -1527,7 +1527,10 @@ ipc.handle('show-calling-permissions-popup', async (event, forCamera) => {
|
|||
try {
|
||||
await showPermissionsPopupWindow(true, forCamera);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
console.error(
|
||||
'show-calling-permissions-popup error:',
|
||||
error && error.stack ? error.stack : error
|
||||
);
|
||||
}
|
||||
});
|
||||
ipc.on('close-permissions-popup', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue