Issue: 3032

Weird param

[issue link]

I have a middleware which detects the lang param and then checks if the route exists and throw a 404 error. The problem is that when it comes to error page the params is __webpack_hmr. All other pages works great except the error page. Does anyone knows the solution to this?

This question is available on Nuxt.js community (#c2626)