Closed lencioni closed 9 years ago
Hmm, perhaps our secret_access_key
is occasionally nil
for some reason? Looking that that method, that seems to be the most likely culprit, in which case the problem lies elsewhere (likely somewhere in a Jenkins plugin for me).
blarf, yeah, this seems to have been a configuration glitch. Perhaps it would be useful to add a helpful message if these things aren't set properly?
Could you create a PR adding a better error message?
Sure!
I am occasionally seeing "no implicit conversion of nil into String (TypeError)" when calling
buckets.find
.Here's the relevant bit of the stack trace:
and here you can see the line of code that calls
find
: https://github.com/lencioni/likadan/blob/6e4a1e0f/lib/likadan_uploader.rb#L46Here is the line that is erroring out: https://github.com/qoobaa/s3/blob/99fad2ae/lib/s3/signature.rb#L139
Any thoughts?