Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Détecter les erreur de login/sites bloqués #13

Open
brrd opened this issue Feb 19, 2023 · 0 comments
Open

Détecter les erreur de login/sites bloqués #13

brrd opened this issue Feb 19, 2023 · 0 comments

Comments

@brrd
Copy link
Owner

brrd commented Feb 19, 2023

Lorsque le site est bloqué, lodapi échoue sur un timeout:

code: 'ESOCKETTIMEDOUT',
connect: false,
level: 'error',
timestamp: '2023-02-19T11:03:46.624Z',
[Symbol(level)]: 'error',
[Symbol(message)]: '2023-02-19T11:03:46.624Z error: ESOCKETTIMEDOUT'

Il faudrait parser la page de réponse du formulaire et logger le message d'échec d'authentification.

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

No branches or pull requests

1 participant