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:
parent
7a01f5d79e
commit
8c5b6910ed
2 changed files with 5 additions and 0 deletions
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue