Changed the way the items are downloaded#25
Changed the way the items are downloaded#25Dragunovam wants to merge 1 commit intoplugorgau:masterfrom
Conversation
This other methods is safer, the code will not break if a component is missing and can't be downloaded.
|
I'm not the maintainer but this seems good to me. Thanks. In the future it would be nice to distinguish temporary errors (like HTTP status 5** or timeouts etc.) but this is already an improvement to avoid being stuck by a specific missing file. |
|
I think this pull request will fix this specific bug: #24 |
|
I think this pull request also fixes this bug: #2 |
|
Can I help in merging this change that fixes two bugs? Thank you @plugorgau for your opinion |
|
Hi @valerio-bozzolan, sorry for the late reply. You're free to helpwith the merge. I had a few more changes stashed that apparently solve some other issues but I will open different pull requests for those. |
|
Premising that I've done some code review, and I'm merging what I like in this fork: https://github.com/valerio-bozzolan/bbb-render Hoping to be useful, this pull request was merged in that fork, at this point: |
This other methods is safer, the code will not break if a component is missing and can't be downloaded.
As you can see below the code fails at line 73, where the seflf_get() method is called on the missing deskshare.webm.
Nesting all the components in a try by using a for loop, seems to be the safest way to do this.