pg: notify about games and login
This commit is contained in:
parent
95b703efb1
commit
13e6f05cd0
2 changed files with 23 additions and 7 deletions
|
|
@ -194,7 +194,7 @@ try {
|
|||
}
|
||||
} catch (error) {
|
||||
console.error(error); // .toString()?
|
||||
if (!error.message.contains('Target closed')) // e.g. when killed by Ctrl-C
|
||||
if (error.message && !error.message.contains('Target closed')) // e.g. when killed by Ctrl-C
|
||||
notify(`epic-games failed: ${error.message}`);
|
||||
} finally {
|
||||
await db.write(); // write out json db
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue