v0.4.2-rc2 (improved middleware error handling)

i figured out how this ~~shit~~ middleware wrkx wewt \o/