You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aborts in not_nil! if the response is not well-formed XML.
Unhandled exception: Nil assertion failed (NilAssertionError)
from /usr/share/crystal/src/nil.cr:108:5 in 'not_nil!'
from lib/awscr-s3/src/awscr-s3/xml.cr:48:9 in 'namespaces'
from lib/awscr-s3/src/awscr-s3/xml.cr:39:12 in 'namespace'
from lib/awscr-s3/src/awscr-s3/xml.cr:29:14 in 'build_path'
from lib/awscr-s3/src/awscr-s3/xml.cr:11:21 in 'string'
from lib/awscr-s3/src/awscr-s3/xml.cr:53:33 in 'Awscr::S3::XML#string<String>:String'
from lib/awscr-s3/src/awscr-s3/exceptions.cr:88:7 in 'from_response'
from lib/awscr-s3/src/awscr-s3/http.cr:114:9 in 'handle_response!'
from lib/awscr-s3/src/awscr-s3/http.cr:88:16 in 'exec'
from lib/awscr-s3/src/awscr-s3/http.cr:46:7 in 'put'
from lib/awscr-s3/src/awscr-s3/client.cr:243:7 in 'put_object'
from lib/awscr-s3/src/awscr-s3/file_uploader.cr:34:9 in 'upload'
The text was updated successfully, but these errors were encountered:
And how did I get there? It's this bug: crystal-lang/crystal#11354
The response body starts with the gzip magic number.
But in any case awscr-s3 should be robust against poorly-formatted responses.
awscr-s3/src/awscr-s3/xml.cr
Line 48 in 36c0f3b
aborts in not_nil! if the response is not well-formed XML.
The text was updated successfully, but these errors were encountered: