cujojs / meld

AOP for JS with before, around, on, afterReturning, afterThrowing, after advice, and pointcuts
Other
644 stars 65 forks source link

Promises are not working #44

Closed vikram1992 closed 6 years ago

briancavalier commented 6 years ago

Hi @vikram1992. Could you please provide more information and a test case to show what you're trying to do? Thanks!

vikram1992 commented 6 years ago

Yeah basically m capturing sequelize errors n throwing custom developer messages. The thing is that the sequelize returns promise and my aop doesn't get triggered. Can you please help me

vikram1992 commented 6 years ago

Hi, I have solve the issue with afterReturning handler.

briancavalier commented 6 years ago

@vikram1992 Thanks for more info, and I'm glad you figured it out 😄 Cheers!