Updated so that the errors actually work without an error (hah!) in restify