Skip to content

Commit

Permalink
Make error details public
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguysimon authored Jan 9, 2022
1 parent 197230d commit 593089f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/oktakit/error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ def errors
end
end

private

def data
@data ||= parse_data
end

private

def parse_data
body = @response[:body]
return if body.empty?
Expand Down

0 comments on commit 593089f

Please sign in to comment.