From 26cb2e94dfaab0b72fba89e14e11d7bc13a53ea1 Mon Sep 17 00:00:00 2001
From: saxon <saxon.milton@gmail.com>
Date: Wed, 19 Dec 2018 11:56:25 +1030
Subject: [PATCH] Fatal error when cannot start revid

---
 revid/revid.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/revid/revid.go b/revid/revid.go
index 93bcdf38..72fc964f 100644
--- a/revid/revid.go
+++ b/revid/revid.go
@@ -487,6 +487,7 @@ func (r *Revid) startRaspivid() error {
 	}
 	err = r.cmd.Start()
 	if err != nil {
+		r.config.Logger.Log(smartlogger.Fatal, pkg+"cannot start revid", "error", err.Error())
 		return err
 	}