aws icon indicating copy to clipboard operation
aws copied to clipboard

Catch php warning when host is not complete

Open shyim opened this issue 2 years ago • 0 comments

In Request.php line 128:
                                         
  [ErrorException]                       
  Warning: Undefined array key "scheme"  
                                         

Exception trace:
  at /Users/shyim/Code/sw6/vendor/async-aws/core/src/Request.php:128

I used as endpoint just localhost:9000, this triggers a warning because the scheme is missing. Maybe scheme should be required or has an fallback to something 🤔

shyim avatar Jun 05 '22 08:06 shyim