Use a job to send the error email instead of inline. #196

This commit is contained in:
James Cole
2016-02-24 20:13:55 +01:00
parent ecefcfabc0
commit 91eb052c22
4 changed files with 109 additions and 32 deletions

View File

@@ -6,7 +6,7 @@
</head>
<body>
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
Firefly III ran into an error: <span style="font-family: monospace;">{{ errorMessage }}</span>.
Firefly III ran into an error: <span style="font-family: monospace;">{{ errorMessage }}</span> of class (type) "{{ class }}".
</p>
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
This error occured in file <span style="font-family: monospace;">{{ file }}</span> on line {{ line }} with code {{ code }}.

View File

@@ -1,4 +1,4 @@
Firefly III ran into an error: {{ errorMessage }}.
Firefly III ran into an error: {{ errorMessage }} of class (type) "{{ class }}".
This error occured in file "{{ file }}" on line {{ line }} with code {{ code }}.