Merge from 29:36639d331736

This commit is contained in:
didier.amyot committed 2014-06-02 10:13:53 -04:00
commit 0e3fcb0cc2
3 files changed
+23 -9

No files matched your search

+3 -1
View File
@@ -32,5 +32,7 @@ func (this ApiHandler) ServeHTTP(w http.ResponseWriter, request *http.Request) {
w.WriteHeader(200)
}
enc := json.NewEncoder(w)
enc.Encode(ret)
if err := enc.Encode(ret); err != nil {
log.Println(err)
}
}