- Issue created by @koosvdkolk
- 🇳🇿New Zealand quietone
Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies.
- First commit to issue fork.
- 🇮🇳India abhishek@kumar
Enhanced User Interface:
// Example detection in MediaSource plugin if ($this->getMetadata($media, 'status') === 'video_not_found') { $message = $this->t('The YouTube video "%title" has been removed.', [ '%title' => $media->label() ]); }
Error Detection Layer:
// In MediaSource plugin try { // Attempt to fetch video metadata } catch (ClientErrorResponseException $e) { if ($e->getResponse()->getStatusCode() === 404) { // Video removed case return new VideoRemovedException($media->label()); } }
- 🇩🇪Germany Anybody Porta Westfalica
Here is the implementation and its tests: https://git.drupalcode.org/search?search=No%20matching%20provider%20foun...
- 🇩🇪Germany Anybody Porta Westfalica
Suggestion implemented in MR, please review. Is it fine to place the variable in the Exception or do we need any kind of escaping? (I don't think so). Without these details, the message will not be helpful to show in any way (in my opinion).
- 🇺🇸United States smustgrave
Seems like a good improvement for qualify of life, and debugging