mirror of
https://github.com/kopia/kopia.git
synced 2025-12-23 22:57:50 -05:00
* feat(cli): send error notifications and snapshot reports Notifications will be sent to all configured notification profiles according to their severity levels. The following events will trigger notifications: - Snapshot is created (CLI only, severity >= report) - Server Maintenance error occurs (CLI, server and UI, severity >= error) - Any other CLI error occurs (CLI only, severity >= error). A flag `--no-error-notifications` can be used to disable error notifications. * added template tests * improved time formatting in templates * plumb through notifytemplate.Options * more testing for formatting options * fixed default date format to RFC1123
21 lines
469 B
Plaintext
21 lines
469 B
Plaintext
Subject: Kopia has encountered an error during Some Operation on some-host
|
|
|
|
<!doctype html>
|
|
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
|
|
<p><b>Operation:</b> Some Operation Details</p>
|
|
<p><b>Started:</b> Wed, 01 Jan 2020 19:04:05 PST</p>
|
|
<p><b>Finished:</b> Wed, 01 Jan 2020 19:04:06 PST (1s)</p>
|
|
|
|
<p><b>Message:</b> error message</p>
|
|
|
|
<pre>error details</pre>
|
|
|
|
<p>Generated at Wed, 01 Jan 2020 19:04:05 PST by <a href="https://kopia.io">Kopia v0-unofficial</a>.</p>
|
|
|
|
</body>
|
|
</html>
|