Change ppr logging
This commit is contained in:
parent
d06de4d8ea
commit
6096eb75b3
@ -12,7 +12,8 @@ export const screenForPPR = <T>(
|
|||||||
);
|
);
|
||||||
throw error.sourceError;
|
throw error.sourceError;
|
||||||
} else if (sourceToLog) {
|
} else if (sourceToLog) {
|
||||||
console.error(sourceToLog, error.sourceError);
|
console.error(sourceToLog, error.message);
|
||||||
}
|
}
|
||||||
return fallback;
|
return fallback;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user