try debugging PAY-2467

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2025-01-13 16:17:44 +01:00
parent c8e3c5399e
commit a917ef2168
No known key found for this signature in database

View file

@ -79,7 +79,10 @@ export class CodeFlow {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
const error = getAuthError(data);
if (error) throw error;
if (error) {
console.error({ data, url, options });
throw error;
}
if (options.state && data.state !== options.state) {
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions