mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 23:00:54 +00:00
4.17.10
* Added: Control badge visibility by group and not simply by individual badge. * Fixed: When possible, sort emote IDs numerically for the emote menu. * Changed: Blacklist a few more invalid errors from automatic reporting. * Changed: Include add-on versions in error reports.
This commit is contained in:
parent
11346b61bb
commit
51eea310a8
6 changed files with 117 additions and 35 deletions
20
src/raven.js
20
src/raven.js
|
@ -166,7 +166,9 @@ export default class RavenLogger extends Module {
|
|||
'Name Collision for Module',
|
||||
'SourceBuffer',
|
||||
'ChunkLoadError',
|
||||
'QuotaExceededError'
|
||||
'SecurityError',
|
||||
'QuotaExceededError',
|
||||
'DataCloneError'
|
||||
],
|
||||
sanitizeKeys: [
|
||||
/Token$/
|
||||
|
@ -300,12 +302,14 @@ export default class RavenLogger extends Module {
|
|||
|
||||
buildExtra() {
|
||||
const modules = {},
|
||||
addons = {},
|
||||
experiments = {},
|
||||
twitch_experiments = {},
|
||||
out = {
|
||||
experiments,
|
||||
twitch_experiments,
|
||||
modules
|
||||
modules,
|
||||
addons
|
||||
};
|
||||
|
||||
for(const key in this.__modules)
|
||||
|
@ -332,6 +336,15 @@ export default class RavenLogger extends Module {
|
|||
chat_settings[key] = value;
|
||||
}
|
||||
|
||||
const add = this.resolve('addons');
|
||||
if ( add && Array.isArray(add.enabled_addons) && add.addons ) {
|
||||
for(const key of add.enabled_addons) {
|
||||
const addon = add.addons[key];
|
||||
if ( addon )
|
||||
addons[key] = `${addon.version || 'unknown'}${addon.dev ? '-dev' : ''}`;
|
||||
}
|
||||
}
|
||||
|
||||
const exp = this.resolve('experiments');
|
||||
if ( exp ) {
|
||||
for(const [key, value] of Object.entries(exp.getTwitchExperiments()))
|
||||
|
@ -354,6 +367,9 @@ export default class RavenLogger extends Module {
|
|||
out.build = __webpack_hash__;
|
||||
out.git_commit = __git_commit__;
|
||||
|
||||
if ( window.BetterTTV )
|
||||
out.bttv_version = window.BetterTTV?.version;
|
||||
|
||||
if ( core )
|
||||
out.twitch_build = core.config.buildID;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue