1
0
Fork 0

Additional Sentry message ignores: add AC3D

These make the reports very noisy for no value.
This commit is contained in:
Automatic Release Builder 2020-10-06 11:34:48 +01:00 committed by James Turner
parent 7597887e60
commit 2b54078023

View file

@ -92,9 +92,12 @@ public:
if (e.debugClass == SG_OSG) {
// white-list certain common OSG warnings to avoid filling up the
// breadcrumsb with noise
// breadcrumbs with noise
if ((e.message == "PNG lib warning : iCCP: known incorrect sRGB profile")
|| (e.message == "PNG lib warning : iCCP: profile 'ICC Profile': 1000000h: invalid rendering intent"))
|| (e.message == "PNG lib warning : iCCP: profile 'ICC Profile': 1000000h: invalid rendering intent")
|| (e.message.find("osgDB ac3d reader: detected surface with less than 3") == 0)
|| (e.message.find("osgDB ac3d reader: detected line with less than 2") == 0)
)
{
return true;
}