Passes an error string to next when trapping 404s