Unverified Commit 520fbc88 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Remove throw for unknown messages in hot-reloader-client (#57353)

Ensures extra messages are ignored instead of throwing an error.
parent 53b684a7
...@@ -414,7 +414,6 @@ function processMessage( ...@@ -414,7 +414,6 @@ function processMessage(
return return
} }
default: { default: {
throw new Error('Unexpected action ' + JSON.stringify(obj))
} }
} }
} }
......
import { createNextDescribe } from 'e2e-utils' import { createNextDescribe } from 'e2e-utils'
createNextDescribe( createNextDescribe(
'app dir - metadata dynamic routes', 'app dir - metadata dynamic routes suspense',
{ {
files: __dirname, files: __dirname,
skipDeployment: true, skipDeployment: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment