- Issue created by @kentr
- Assigned to kentr
- Issue was unassigned.
- Status changed to Needs review
6 months ago 4:28pm 13 June 2024 - First commit to issue fork.
-
nmangold β
committed c7eda751 on 1.1.x authored by
kentr β
Issue #3453745 by kentr: Filter has false positives
-
nmangold β
committed c7eda751 on 1.1.x authored by
kentr β
- Status changed to Fixed
6 months ago 9:35am 25 June 2024 - πΊπΈUnited States nmangold United States
Everything was reproduced exactly as described and the solution looks good. I don't love the idea of the catching the error in the console log by default. I would like that more if it were an option that was disabled by default, and could be configured via the module settings page, e.g. debug mode. That said, I will merge this MR, but I might include that configuration at a later date.
Thank you for your contribution.
- πΊπΈUnited States kentr
@nmangold
I don't love the idea of the catching the error in the console log by default.
Just to be sure, I wanted to clarify that the
catch
is what prevents fetch errors from breaking valid code blocks on the page. I defer to you on whether or not the error is then written to the console, but IMO thecatch
is necessary (thecatch
could absorb the error by default if you don't want the error written to the console). - πΊπΈUnited States nmangold United States
Thanks for the clarification. So, it is essentially a more graceful failure. In that case, I like the idea of the console log by default for now. So, the content creator is not clueless about why the "invalid" code blocks are not functioning as expected. Especially, with the issue regarding non-aliased languages, #3401537.
Automatically closed - issue fixed for 2 weeks with no activity.