Made ParentId exceptions easier to debug