SoftwareBrothers/adminjs-expressjs

If `auth.authenticate` throws error whole app crashes

BOTKooper opened this issue · 0 comments

Just noticed that there is no try-catch blocks around await auth.authenticate(email, password, context) so due to the nature of express if that function throws - whole node process dies.

Question is - is this intentional decision (cannot find any mention in AdminJS documentation) or misunderstanding?