Skip to content
This repository was archived by the owner on May 7, 2018. It is now read-only.
This repository was archived by the owner on May 7, 2018. It is now read-only.

Incomplete objects throw NoMethodErrors on decode #21

Description

@nateberkopec
   OkJson.decode("{")
   OkJson.decode("[")

Both throw NoMethodError rather than the expected OkJson::Error

Activity

  1. nateberkopec commented on Nov 17, 2014

    @nateberkopec
    ContributorAuthor

    I couldn't figure out how to write a test for this using your test harness, but the way we fixed it over at raven-ruby is here.

  2. bfontaine commented on Dec 21, 2015

    @bfontaine

    I confirm the bug still exists.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions