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