You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 30, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on May 30, 2024. It is now read-only.
If you would like for this error to not be reported, then you can listen for error on the client, and the error will be reported there instead of being logged.
The reporter logic is as such.
if (emitter.listenerCount('error')) {
emitter.emit('error', error);
} else {
logger.error(error.message);
}
This would apply to other maybe type errors as well. You could check the content and conditionally log it yourself if you wish.
Alternatively you could implement a custom logger, and filter out the corresponding messages.
The default value is not associated with a flag existing or not. For many people a flag not existing is representative of a problem. A typo in the flag name for instance.
Activity
kinyoklion commentedon Sep 21, 2022
Hello @edxzh,
If you would like for this error to not be reported, then you can listen for
erroron the client, and the error will be reported there instead of being logged.The reporter logic is as such.
This would apply to other
maybetype errors as well. You could check the content and conditionally log it yourself if you wish.Alternatively you could implement a custom logger, and filter out the corresponding messages.
The default value is not associated with a flag existing or not. For many people a flag not existing is representative of a problem. A typo in the flag name for instance.
Thank you,
Ryan
edxzh commentedon Sep 22, 2022
Hi @kinyoklion thanks for your reply, this makes sense to me, close this issue and you have a great one.
Merge pull request #261 from launchdarkly/eb/sc-149305/flaky-tests