Closed jonathanstowe closed 3 years ago
Thanks, merged (and updated afterwards to use the call-me-maybe operator)
I've got another bit around the error handling which I may or may not get to depending on how the 🍻 goes this afternoon 🤣
It's amazing what a somewhat mis-configured "production-to-be" AWS environment throws up 🤣
Currently if there is an error on
get($url)
it dies with (for example):Because the
.get($object)
returns Nil thus the attempt to call .content fails.THis just skips the attempt if
$res
is undefined.