Add an error message if the filter rule is empty.

Set the streaming status to active only once.
This commit is contained in:
marmei
2019-08-28 17:56:15 +02:00
parent 878531ff79
commit 717fa68b7e
5 changed files with 31 additions and 7 deletions

View File

@@ -245,6 +245,8 @@ func getErrMsg(errCode int) (errMsg string) {
errMsg = fmt.Sprintf("Invalid formatting of the time")
case 1013:
errMsg = fmt.Sprintf("Invalid settings file (settings.json), file must be at least version %s", System.Compatibility)
case 1014:
errMsg = fmt.Sprintf("Invalid filter rule")
case 1020:
errMsg = fmt.Sprintf("Data could not be saved, invalid keyword")