Fix error middleware.
Bump to 1.0.6.