can now handle complexe mongo urls

This commit is contained in:
didier.amyot committed 2014-05-17 18:01:55 -04:00
1 parent 79da771597
commit 2add8284e6
6 files changed
+78 -18

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ type errorWrapper struct {
type ApiHandler func(w http.ResponseWriter, request *http.Request) (interface{}, error)
func (this ApiHandler) ServeHTTP(w http.ResponseWriter, request *http.Request) {
log.Println("request for", request.URL)
ret, err := this(w, request)
if err != nil {
log.Println(err)