Skip to content

Commit

Permalink
Merge pull request #2342 from nocodb/fix/smtp-test
Browse files Browse the repository at this point in the history
Fix: Exclude sensitive data related to server from SMTP test api
  • Loading branch information
o1lab committed Jun 13, 2022
2 parents a567f7a + 2c1c2d1 commit a18f5dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/nocodb/src/lib/plugins/smtp/SMTP.ts
Expand Up @@ -47,7 +47,10 @@ export default class SMTP implements IEmailAdapter {
} as any);
return true;
} catch (e) {
throw e;
console.log('SMTP test error :: ', e);
throw new Error(
'SMTP test failed, please check server log for more details.'
);
}
}
}
Expand Down

0 comments on commit a18f5dd

Please sign in to comment.