mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Improved information on failed Emailable emails
This commit is contained in:
parent
0a21d301dd
commit
24cc2cfe16
@ -116,7 +116,7 @@ export async function checkEmailWithEmailable(
|
||||
return { status: "ok", emailableScore: response.score };
|
||||
});
|
||||
} catch (error) {
|
||||
captureError("emailable-api-error", error);
|
||||
captureError("emailable-api-error", new StackAssertionError("Error while checking email address with Emailable", { cause: error, email, options }));
|
||||
return { status: "error", error, emailableScore: null };
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user