Catch some exceptions that should be 404s