Browse Source

ss

Signed-off-by: Binren Zhnag <zhangbr@elab-plus.com>
Binren Zhnag 4 years ago
parent
commit
33eb80e1f7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      jianye_report.py

+ 1 - 0
jianye_report.py

@@ -284,6 +284,7 @@ class JianYeReport(object):
                             send_mail_log.append([mail[5], mail[2], mail[3], -1, 'fail'])
                 except Exception as e:
                     print(str(e))
+                    message['error1'] = str(e)
                     send_mail_log.append([mail[5], mail[2], mail[3], -1, str(e)])
             self.db.add_some(send_mail_log, Sql.sql_12)
         except Exception as e: