jdsdev/Embedder

Curl failing silently

Closed this issue · 1 comments

I just had an issue where embedding a Vimeo video kept displaying 'Video not found' on one server, but it worked on another. It turned out the failing server needed root certificates setting for curl to work.

I only worked this out by going through the code and realising curl was failing silently. Would it be worth adding this kind of exception handling in EmbedderService::curl() so that such errors are more visible and solvable?

I've just taken over Embedder to update it for Craft 3. I'm closing old issues so we can have a fresh start, but let me know if you want to revisit the issue and we can reopen it. Thanks!