Bug 1944784 - Fix collecting the errors encountered when generating minidumps r=cmartin, a=dmeehan

Differential Revision: https://phabricator.services.mozilla.com/D236202
This commit is contained in:
Gabriele Svelto 2025-02-03 15:31:33 +00:00
parent 0d315ac668
commit 879ae06a1d

View file

@ -3319,7 +3319,8 @@ static void MaybeAnnotateDumperError(const ClientInfo& aClientInfo,
AnnotationTable& aAnnotations) {
#if defined(MOZ_OXIDIZED_BREAKPAD)
if (aClientInfo.had_error()) {
aAnnotations[Annotation::DumperError] = *aClientInfo.error_msg();
aAnnotations[Annotation::DumperError] =
nsDependentCString(aClientInfo.error_msg());
}
#endif
}