twikoo-func 1.6.28 → 1.6.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils/notify.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twikoo-func",
3
- "version": "1.6.28",
3
+ "version": "1.6.30",
4
4
  "description": "A simple comment system.",
5
5
  "author": "imaegoo <hello@imaegoo.com> (https://github.com/imaegoo)",
6
6
  "license": "MIT",
package/utils/notify.js CHANGED
@@ -47,7 +47,7 @@ const fn = {
47
47
  const success = await transporter.verify()
48
48
  if (success) logger.info('SMTP 邮箱配置正常')
49
49
  } catch (error) {
50
- throw new Error('SMTP 邮箱配置异常:', error)
50
+ throw new Error('SMTP 邮箱配置异常:' + error.message)
51
51
  }
52
52
  return true
53
53
  } catch (e) {