Skip to content

TypeError: String does not have #dig method #170

Description

@ashwinisukale

Investigate and fix

https://app.datadoghq.com/apm/error-tracking?issueId=33e4b0c8-68cf-11ee-87a5-da7ad0900002&refresh_mode=sliding&view=spans&from_ts=1699360383609&to_ts=1699965183609&live=true

I see 852 occurrences of this error on production since last week.

TypeError: String does not have #dig method
/home/app/webapp/vendor/bundle/ruby/2.6.0/gems/bolognese-1.11.5/lib/bolognese/readers/datacite_reader.rb:126:in `dig'
/home/app/webapp/vendor/bundle/ruby/2.6.0/gems/bolognese-1.11.5/lib/bolognese/readers/datacite_reader.rb:126:in `read_datacite'
/home/app/webapp/app/models/concerns/crosscitable.rb:53:in `parse_xml'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions