```
rescue => e
  Chef::Log.error("Could not read #{path_for_printing} into a Chef object: #{e}")
  Chef::Log.error(e.backtrace.join("\n"))
end
```