Revert to previous re-throwing behavior
This commit is contained in:
parent
ba109d618f
commit
3120502c17
@ -10,7 +10,7 @@ export const screenForPPR = <T>(
|
||||
sourceToLog ? `${sourceToLog}: PPR error caught` : 'PPR error caught',
|
||||
error.sourceError,
|
||||
);
|
||||
throw error;
|
||||
throw error.sourceError;
|
||||
} else if (sourceToLog) {
|
||||
console.error(sourceToLog, error.message);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user