diff --git a/lib/ontologies_linked_data/monkeypatches/object.rb b/lib/ontologies_linked_data/monkeypatches/object.rb index deadf71c..414ab6fb 100644 --- a/lib/ontologies_linked_data/monkeypatches/object.rb +++ b/lib/ontologies_linked_data/monkeypatches/object.rb @@ -101,6 +101,7 @@ def to_flex_hash(options = {}, &block) hash, modified = embed_goo_objects_just_values(hash, k, v, options, &block) rescue Exception => e puts "Bad data found in submission: #{hash}" + puts "#{e.class}: #{e.message}\n#{e.backtrace.join("\n")}" raise e end