1
0
Fork 0

Sentry: white-list another libPNG warning

These are not useful for tracing, so filter them out
This commit is contained in:
Automatic Release Builder 2020-09-27 10:21:12 +01:00 committed by James Turner
parent 6e947f59eb
commit c75388f4b7

View file

@ -93,7 +93,9 @@ public:
if (e.debugClass == SG_OSG) {
// white-list certain common OSG warnings to avoid filling up the
// breadcrumsb with noise
if (e.message == "PNG lib warning : iCCP: known incorrect sRGB profile") {
if ((e.message == "PNG lib warning : iCCP: known incorrect sRGB profile")
|| (e.message == "PNG lib warning : iCCP: profile 'ICC Profile': 1000000h: invalid rendering intent"))
{
return true;
}
}