aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/add-entry/main.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/client/add-entry/main.go b/client/add-entry/main.go
index e782b09..52a9d8b 100644
--- a/client/add-entry/main.go
+++ b/client/add-entry/main.go
@@ -44,7 +44,12 @@ func main() {
if err != nil {
glog.Fatalf("add-entry failed: %v", err)
}
- glog.Infof("got valid StItem: %v", sdi)
+
+ str, err := sdi.MarshalB64()
+ if err != nil {
+ glog.Fatalf("failed encoding valid signed debug info: %v", err)
+ }
+ glog.Infof("add-request succeeded: %s", str)
glog.Flush()
}