diff --git a/commands/sifter.go b/commands/sifter.go index 6d7bca6..c20810c 100644 --- a/commands/sifter.go +++ b/commands/sifter.go @@ -65,7 +65,8 @@ func decodeStdin(data string) (string, int64) { var events ConsulEvent err := json.Unmarshal([]byte(data), &events) if err != nil { - fmt.Println("%#v", err) + Log(fmt.Sprintf("error: %s", data), "info") + os.Exit(1) } name := string(events.Name) lTime := int64(events.LTime) diff --git a/version b/version index e44037b..457dba0 100755 --- a/version +++ b/version @@ -1,3 +1,3 @@ #!/bin/bash -SIFTER_VERSION="0.5-dev" +SIFTER_VERSION="0.5" echo $SIFTER_VERSION