From fe77646b8f3ef6dc69283d7c53e57ad465b41846 Mon Sep 17 00:00:00 2001 From: Darron Froese Date: Sat, 14 Nov 2015 16:07:14 -0700 Subject: [PATCH] Add some logging and release. --- commands/sifter.go | 3 ++- version | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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