koajs/error — pull request #10 by bredikhin (2014-03-04 02:56:47+00:00)
Title: Status code on default exception

If `err.status` is falsy, `this.status` code is being set to 500, so it's the latter that should be passed to the template.