Skip to content

Catch errors and return something usefull #8

Description

@bittersweet

While logging activity Prooflink threw a 503 error, we should check the response of requests before handling them so we can provide useful errors to the users

Stacktrace from errrbit:

json-1.5.4/lib/json/common.rb  parse
json-1.5.4/lib/json/common.rb  parse
multi_json-1.3.6/lib/multi_json/adapters/json_common.rb  load
multi_json-1.3.6/lib/multi_json.rb  decode
prooflink_connect-0.0.23/lib/prooflink_connect/activity.rb  log

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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