From 3120502c1723f9ca40c54e6354fdaa466f7ce895 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Thu, 29 Feb 2024 23:00:00 -0600 Subject: [PATCH] Revert to previous re-throwing behavior --- src/utility/ppr.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utility/ppr.ts b/src/utility/ppr.ts index e9976922..45924442 100644 --- a/src/utility/ppr.ts +++ b/src/utility/ppr.ts @@ -10,7 +10,7 @@ export const screenForPPR = ( sourceToLog ? `${sourceToLog}: PPR error caught` : 'PPR error caught', error.sourceError, ); - throw error; + throw error.sourceError; } else if (sourceToLog) { console.error(sourceToLog, error.message); }