Browse Source

Merge pull request #2342 from nocodb/fix/smtp-test

Fix: Exclude sensitive data related to server from SMTP test api
pull/2345/head
navi 2 years ago committed by GitHub
parent
commit
a18f5dd538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      packages/nocodb/src/lib/plugins/smtp/SMTP.ts

5
packages/nocodb/src/lib/plugins/smtp/SMTP.ts

@ -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.'
);
}
}
}

Loading…
Cancel
Save