I think you should return a 500 error instead.