Catch NotFoundException and convert to a NotFound response