mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
fix(verification): log
This commit is contained in:
parent
f1730e5d34
commit
ee0e3cf6e0
@ -82,7 +82,7 @@ async function create(ctx: Context, next: Next) {
|
||||
case 'RateLimit':
|
||||
return ctx.throw(429, ctx.t('You are trying so frequently, please slow down', { ns: namespace }));
|
||||
default:
|
||||
console.error(error);
|
||||
ctx.log.error(error);
|
||||
return ctx.throw(
|
||||
500,
|
||||
ctx.t('Verification send failed, please try later or contact to administrator', { ns: namespace }),
|
||||
|
Loading…
x
Reference in New Issue
Block a user