Fix double callback invoke on unhandled exception#528
Fix double callback invoke on unhandled exception#528adamjmcgrath wants to merge 1 commit intonode-saml:masterfrom
Conversation
📝 WalkthroughWalkthroughThis change modifies the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧹 Recent nitpick comments
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used🧠 Learnings (1)📓 Common learnings✏️ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
If callback is passed, make the callback execution async so unhandled exceptions don't end up in the catch bock and call the callback a second time.
fixes #527
Summary by CodeRabbit
Bug Fixes
Tests
✏️ Tip: You can customize this high-level summary in your review settings.