Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Bug: Error creation crashing in Client#prepare_files #103

Open
DanielDe opened this issue May 9, 2019 · 7 comments
Open

Bug: Error creation crashing in Client#prepare_files #103

DanielDe opened this issue May 9, 2019 · 7 comments
Labels
legacy Related to legacy, non-OpenAPI SDK

Comments

@DanielDe
Copy link

DanielDe commented May 9, 2019

I'm getting a crash when passing an invalid path for the files parameter in create_embedded_signature_request:

ArgumentError: wrong number of arguments (given 1, expected 2..3)
from /Users/danieldehaas/.rvm/gems/ruby-2.4.4@duco/gems/hellosign-ruby-sdk-3.7.7/lib/hello_sign/error.rb:30:in `initialize'

The problem seems to be in these two places:

The Error initializer expects 2 to 3 arguments but is only getting 1.

Thanks!

@sikandartariq1
Copy link
Contributor

fixed in this pull request #107

@Hussainbhatti1
Copy link

Hussainbhatti1 commented Aug 2, 2019

Please merge this fix.

rohandey added a commit to HappyFunCorp/hellosign-ruby-sdk that referenced this issue Feb 4, 2020
@danfstucky
Copy link

It's been over a year, why has this fix not been merged yet? Initializing errors straight up does not work.

@johnnycupcakes
Copy link
Contributor

Thank you for letting me know, pull request #107 has been merged.

@syed-mohsin
Copy link

@johnnycupcakes This fix is part of v 3.7.10 which hasn't been released yet. How can i specify this version in my Gemfile?

@alexmac05
Copy link

i'm looking into this and will get back to you. sorry for the delay.

@alexmac05 alexmac05 reopened this Nov 4, 2020
@sallyhall
Copy link

#107 allows errors to be initialized, but the way errors are initialized here:

a message is passed to the error class, but is interpreted as the status, creating a confusing human readable message.

@jtreminio-dropbox jtreminio-dropbox added the legacy Related to legacy, non-OpenAPI SDK label Mar 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
legacy Related to legacy, non-OpenAPI SDK
Projects
None yet
Development

No branches or pull requests

9 participants