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:
Tim Neutkens 2023-11-03 02:06:53 +01:00 committed by GitHub
parent 53b684a795
commit 520fbc884d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -414,7 +414,6 @@ function processMessage(
return
}
default: {
throw new Error('Unexpected action ' + JSON.stringify(obj))
}
}
}

View file

@ -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,