From c75388f4b7d3422ea0445ef9f643f00d670771fb Mon Sep 17 00:00:00 2001 From: Automatic Release Builder <build@flightgear.org> Date: Sun, 27 Sep 2020 10:21:12 +0100 Subject: [PATCH] Sentry: white-list another libPNG warning These are not useful for tracing, so filter them out --- src/Main/sentryIntegration.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Main/sentryIntegration.cxx b/src/Main/sentryIntegration.cxx index 0f3861a90..684f62030 100644 --- a/src/Main/sentryIntegration.cxx +++ b/src/Main/sentryIntegration.cxx @@ -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; } }