UNPKG

@flowfuse/flowfuse

Version:

An open source low-code development platform

82 lines (67 loc) 2.31 kB
module.exports = { subject: 'FlowFuse Instance crashed', text: `Hello Your FlowFuse Instance "{{{ name }}}" in Team "{{{ teamName.text }}}" has crashed due to an uncaught exception. This can occur for a number of reasons including: - an issue in your flows or function nodes - an issue in a third-party contribution node - an issue in Node-RED itself Possible solutions: - look out for async function calls in your function nodes that dont have error handling - check the issue tracker of the node that caused the crash - check the Node-RED issue tracker for similar issues {{#if log.text}} ------------------------------------------------------ Logs: {{#log.text}} Timestamp: {{{timestamp}}} Severity: {{{level}}} Message: {{{message}}} {{/log.text}} Note: Timestamps in this log are in UTC (Coordinated Universal Time). ------------------------------------------------------ {{/if}} You can access the instance and its logs here: {{{ url }}} `, html: `<p>Hello</p> <p>Your FlowFuse Instance "{{{ name }}}" in Team "{{{ teamName.html }}}" has crashed due to an uncaught exception.</p> <p> This can occur for a number of reasons including: <ul> <li>an issue in your flows or function nodes</li> <li>an issue in a third-party contribution node</li> <li>an issue in Node-RED itself</li> </ul> Possible solutions: <ul> <li>look out for async function calls in your function nodes that dont have error handling</li> <li>check the issue tracker of the node that caused the crash</li> <li>check the Node-RED issue tracker for similar issues</li> </p> {{#if log.html}} <p> Logs: <table style="width: 100%; font-size: small; font-family: monospace; white-space: pre;"> <tr> <th style="text-align: left; min-width: 135px;">Timestamp</th> <th style="text-align: left; white-space: nowrap;">Severity</th> <th style="text-align: left;">Message</th> </tr> {{#log.html}} <tr> <td style="vertical-align: text-top;">{{{timestamp}}}</td> <td style="vertical-align: text-top;">{{{level}}}</td> <td>{{{message}}}</td> </tr> {{/log.html}} </table> <i>Note: Timestamps in this log are in UTC (Coordinated Universal Time).</i> </p> {{/if}} <p>You can access the instance and its logs here</p> <a href="{{{ url }}}">Instance Logs</a> ` }