Closed dhershman1 closed 7 years ago
If you throw in a catch block, then you'll create another rejected promise. My guess is that if you log the error rather than throw it, you will not have an unhandled rejection.
Not sure why I didn't think to swap out that throw. I've been looking at this project for too long. Oh well, thanks for the clear up to my oopsies. ¯_(ツ)_/¯
Sure thing! :D 🍻
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
It doesn't seem like the promise returned by glue makes it to the catch you add onto compose, If an issue happens within the config (say I were to change one of my plugin names to cheese) you get back an unhandled promise rejection.
Please note: This applies for any issue not just plugin registering.
Example setup:
The working glue config example:
The broken glue config example