Add logging to all instances where a notFound is thrown