Skip to content

Commit a1d7f0c

Browse files
committed
Merge branch 'master' into publicPath-output
2 parents 2e68d84 + 64a6124 commit a1d7f0c

File tree

4 files changed

+135
-108
lines changed

4 files changed

+135
-108
lines changed

client-src/overlay.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -664,10 +664,16 @@ const createOverlay = (options) => {
664664
if (!error && !message) {
665665
return;
666666
}
667+
667668
// if error stack indicates a React error boundary caught the error, do not show overlay.
668-
if (error.stack && error.stack.includes("invokeGuardedCallbackDev")) {
669+
if (
670+
error &&
671+
error.stack &&
672+
error.stack.includes("invokeGuardedCallbackDev")
673+
) {
669674
return;
670675
}
676+
671677
handleError(error, message);
672678
});
673679

lib/Server.js

-2
Original file line numberDiff line numberDiff line change
@@ -3108,8 +3108,6 @@ class Server {
31083108
*/
31093109
const allHeaders = [];
31103110

3111-
allHeaders.push({ key: "X_TEST", value: "TEST" });
3112-
31133111
if (!Array.isArray(headers)) {
31143112
// eslint-disable-next-line guard-for-in
31153113
for (const name in headers) {

0 commit comments

Comments
 (0)