CDRH / datura

Datura is a ruby gem that manages data (TEI-XML, CSVs, VRA-XML, etc) and populates Solr / Elasticsearch instances. Datura also generates HTML for the formats to allow serving the contents via web
6 stars 5 forks source link

errors in tei_to_es #69

Open jduss4 opened 7 years ago

jduss4 commented 7 years ago

Errors are failing silently in this class

jduss4 commented 7 years ago

This commit begins to address this issue, but I would like it to be more specific and more robust.

https://github.com/CDRH/data/commit/220a88b68d93f58144f1c7b6061fef66a29f246d

jduss4 commented 5 years ago

These are still bad, bumping in 2019

techgique commented 4 years ago

Still troublesome in 2020 :stuck_out_tongue_winking_eye: I was running into it with #171 while working on Whitman Elasticsearch indexing revisions and having to comment/uncomment individual field method overrides to identify which causing the error.

We discussed outputting the original error message and perhaps optionally displaying a full traceback if -v verbose option is set with the command.

Jess pointed at a few places where this could be addressed:

techgique commented 3 years ago

@jduss4 I was working on CSV to ES transform and posting (https://github.com/CDRH/data_stories_humanity/commit/a2f2708f397e65b9d6b8e1f917ff1c744d016daa) and committed some ideas that relate to ameliorating error frustration and were helpful in my headscratching: https://github.com/CDRH/datura/tree/feature/debugging