Skip to content

Commit

Permalink
Update Mail Style
Browse files Browse the repository at this point in the history
  • Loading branch information
a632079 committed Jan 29, 2018
1 parent 9ec8a16 commit 05edf93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mail.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class mail {
const admin = nconf.get('admin')
const to = Array.isArray(admin) ? admin : admin.join(',')
let html = JSONtoHTML(formatError(err))
html = '<h1>错误报告!</h1><p>触发时间: ' + new Date().toISOString() + '</p><p>错误细节:</p><pre>' + html + '<pre>'
html = '<h1>错误报告!</h1><p>触发时间: ' + new Date().toISOString() + '</p><p>错误细节:</p><pre><code>' + html + '</code></pre>'
return this.send({
title: 'Crash! Error Report!',
to: to,
Expand Down

0 comments on commit 05edf93

Please sign in to comment.