From 1120f4290b17d05bebfe1212ba68b892252c5757 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Sat, 16 Dec 2023 01:04:10 +0000 Subject: [PATCH] Bug 1870277 - Include failure message when a feature is marked as failed. r=aosmond This will help us figure out why things are failing in telemetry Differential Revision: https://phabricator.services.mozilla.com/D196576 UltraBlame original commit: 8fd04cb03fbd84435d9834d1de340c2f64e013bb --- gfx/config/gfxFeature.cpp | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gfx/config/gfxFeature.cpp b/gfx/config/gfxFeature.cpp index 2c0bd5861bcec..8a39b28d211c3 100644 --- a/gfx/config/gfxFeature.cpp +++ b/gfx/config/gfxFeature.cpp @@ -1411,6 +1411,34 @@ get ; break ; +case +FeatureStatus +: +: +Failed +: +status +. +AppendPrintf +( +" +% +s +: +% +s +" +FeatureStatusToString +( +value +) +GetFailureMessage +( +) +) +; +break +; default : status