1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-28 15:27:43 +00:00

Log errors in metadata so we can get more useful information for debugging.

This commit is contained in:
SirStendec 2018-04-08 14:59:34 -04:00
parent 7a01f5d79e
commit 8c5b6910ed
2 changed files with 5 additions and 0 deletions

View file

@ -280,6 +280,9 @@ export class Tooltip {
tip._update();
}).catch(err => {
if ( this.options.logger )
this.options.logger.error('Error rendering tooltip content.', err);
inner.textContent = `There was an error showing this tooltip.\n${err}`;
tip._update();
});