Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: exception class/object expected #389

Open
filipeperdigaosousa opened this issue Jul 9, 2018 · 2 comments
Open

TypeError: exception class/object expected #389

filipeperdigaosousa opened this issue Jul 9, 2018 · 2 comments

Comments

@filipeperdigaosousa
Copy link

I'm trying to use it with asset_sync gem but I cannot upload any files.

When the it is listing the existing blobs it is raising an error "TypeError: exception class/object expected" at this point,

raise temp unless temp.instance_of?(Azure::Service::EnumerationResults)
.

Should you check if "temp" is instance of Azure::Storage::Common::Service::EnumerationResults instead of Azure::Service::EnumerationResults?

I tried with this change and the code works fine

@aheumaier
Copy link
Contributor

aheumaier commented Aug 8, 2018

@filipeperdigaosousa Sounds sane for me . Would you provide a PR ?
@bilal-naeem-confiz comments?

@bilal-naeem-confiz
Copy link
Contributor

@filipeperdigaosousa @aheumaier
That seems correct to me.

@filipeperdigaosousa can you generate a PR for this? I'll test it out and merge it

aheumaier added a commit to aheumaier/fog-azure-rm that referenced this issue Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants