Remove throw for unknown messages in hot-reloader-client (#57353)
Ensures extra messages are ignored instead of throwing an error.
This commit is contained in:
parent
53b684a795
commit
520fbc884d
2 changed files with 1 additions and 2 deletions
|
@ -414,7 +414,6 @@ function processMessage(
|
|||
return
|
||||
}
|
||||
default: {
|
||||
throw new Error('Unexpected action ' + JSON.stringify(obj))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { createNextDescribe } from 'e2e-utils'
|
||||
|
||||
createNextDescribe(
|
||||
'app dir - metadata dynamic routes',
|
||||
'app dir - metadata dynamic routes suspense',
|
||||
{
|
||||
files: __dirname,
|
||||
skipDeployment: true,
|
||||
|
|
Loading…
Reference in a new issue