From 2b5407802323a3cb9320311151435b2ad75c61a5 Mon Sep 17 00:00:00 2001 From: Automatic Release Builder Date: Tue, 6 Oct 2020 11:34:48 +0100 Subject: [PATCH] Additional Sentry message ignores: add AC3D These make the reports very noisy for no value. --- src/Main/sentryIntegration.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Main/sentryIntegration.cxx b/src/Main/sentryIntegration.cxx index 684f62030..b792aafe6 100644 --- a/src/Main/sentryIntegration.cxx +++ b/src/Main/sentryIntegration.cxx @@ -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; }