Skip to content

Fix for exception-unhandled "forked" Promise chain#2101

Merged
matthiask merged 3 commits into
django-commons:mainfrom
karolyi:main
Mar 10, 2025
Merged

Fix for exception-unhandled "forked" Promise chain#2101
matthiask merged 3 commits into
django-commons:mainfrom
karolyi:main

Conversation

@karolyi

@karolyi karolyi commented Mar 10, 2025

Copy link
Copy Markdown
Contributor

See #2100

I took the liberty of reformatting a bit of code here, I'm sure the autoformatter will have its way with it.

Comment thread debug_toolbar/static/debug_toolbar/js/toolbar.js Outdated
Co-authored-by: Tim Schilling <schilling711@gmail.com>
@karolyi

karolyi commented Mar 10, 2025

Copy link
Copy Markdown
Contributor Author

I don't find splitting hairs on wording useful, but so be it.

@tim-schilling tim-schilling left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks reasonable to me. If someone else can pull it down and confirm it works, we can release it. I'll have time later this week otherwise.

@karolyi

karolyi commented Mar 10, 2025

Copy link
Copy Markdown
Contributor Author

Does it count when I say this change fixed my original problem outlined? After all, I was the OG PR creator.

@matthiask matthiask merged commit 42696c2 into django-commons:main Mar 10, 2025
@matthiask

Copy link
Copy Markdown
Member

I've tested it locally and what worked before still seems to work fine. Will do more tests later. The reason provided in the other PR why writing tests is hard makes sense to me and the comment in the code is sufficient to hopefully be aware of this issue when we have to change the code again in the future, for whatever reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants