Skip to content

Instantly share code, notes, and snippets.

@corbanbrook
Created December 8, 2014 20:06
Show Gist options
  • Save corbanbrook/0304e72d4b0a85b8cda4 to your computer and use it in GitHub Desktop.
Save corbanbrook/0304e72d4b0a85b8cda4 to your computer and use it in GitHub Desktop.
2014/12/08 15:05:01 INFO [corban.local/jj7eZUWeJi-000129] Started POST "/sites/5450fb1d636f72194dbc0000/sections/545ceeec636f72031f000000/stream" from [::1]:57524
15:5:01 app | 2014/12/08 15:05:01 INFO [corban.local/jj7eZUWeJi-000129] panic: interface conversion: interface is nil, not bson.ObjectId
15:5:01 app | /Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/zenazn/goji/web/middleware/recoverer.go:24 (0x1cdeab)
func.006: debug.PrintStack()
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/runtime/panic.c:248 (0x1078d)
panic: runtime·newstackcall(d->fn, (byte*)d->args, d->siz);
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/runtime/iface.goc:292 (0x232a0)
assertE2Tret: runtime·panic(err);
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/runtime/iface.goc:280 (0x23220)
assertE2T: assertE2Tret(t, e, (byte*)&retbase);
/Users/corban/Projects/go/src/github.com/pressly/reeler/data/content/asset.go:130 (0x1723af)
SaveNewAsset: return oid.(bson.ObjectId), err
/Users/corban/Projects/go/src/github.com/pressly/reeler/ws/stream_handler.go:145 (0x5c6bc)
(*StreamHandler).CreateStreamAsset: oid, err := content.SaveNewAsset(newAsset)
/Users/corban/Projects/go/src/github.com/pressly/reeler/ws/hub_handler.go:47 (0x5eb98)
*StreamHandler.CreateStreamAsset.fm: m.Post("/:hubId/sections/:sectionId/stream", sh.CreateStreamAsset) // tmp..
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/zenazn/goji/web/web.go:127 (0x1ca2d4)
HandlerFunc.ServeHTTPC: h(c, w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/zenazn/goji/web/router.go:118 (0x1c8835)
(*router).route: route.handler.ServeHTTPC(*c, w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/zenazn/goji/web/middleware.go:89 (0x1ca3af)
func.002: router.route(&cs.C, w, r)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/net/http/server.go:1235 (0x137c10)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/zenazn/goji/web/middleware/subrouter.go:24 (0x1cd65a)
subrouter.ServeHTTP: s.h.ServeHTTP(w, r)
<autogenerated>:1 (0x1ce830)
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/zenazn/goji/web/middleware.go:50 (0x1c5689)
(*cStack).ServeHTTPC: s.m.ServeHTTP(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/zenazn/goji/web/mux.go:89 (0x1c6843)
(*Mux).ServeHTTPC: stack.ServeHTTPC(c, w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/ws/web_handler.go:34 (0x5d40c)
(*WebHandler).ServeHTTPC: h.mux.ServeHTTPC(c, w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/zenazn/goji/web/router.go:118 (0x1c8835)
(*router).route: route.handler.ServeHTTPC(*c, w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/zenazn/goji/web/middleware.go:89 (0x1ca3af)
func.002: router.route(&cs.C, w, r)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/net/http/server.go:1235 (0x137c10)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/ws/app_handler.go:107 (0x5e196)
func.001: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/net/http/server.go:1235 (0x137c10)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/pkieltyka/jwtauth/jwtauth.go:87 (0x171aca)
func.001: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/net/http/server.go:1235 (0x137c10)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/ws/debug_handler.go:45 (0x5e6db)
func.004: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/net/http/server.go:1235 (0x137c10)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/rs/cors/cors.go:102 (0x1bfc28)
func.001: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/net/http/server.go:1235 (0x137c10)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/pressly/gohttpware/heartbeat/heartbeat.go:18 (0x1bdf00)
func.001: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/net/http/server.go:1235 (0x137c10)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/zenazn/goji/web/middleware/recoverer.go:29 (0x1ce069)
func.007: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/net/http/server.go:1235 (0x137c10)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/zenazn/goji/web/middleware/logger.go:35 (0x1cdab0)
func.002: h.ServeHTTP(lw, r)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/net/http/server.go:1235 (0x137c10)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/zenazn/goji/web/middleware/realip.go:41 (0x1cde19)
func.005: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/net/http/server.go:1235 (0x137c10)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/zenazn/goji/web/middleware/request_id.go:68 (0x1ce39f)
func.008: h.ServeHTTP(w, r)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/net/http/server.go:1235 (0x137c10)
HandlerFunc.ServeHTTP: f(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/zenazn/goji/web/middleware.go:46 (0x1c560f)
(*cStack).ServeHTTP: s.m.ServeHTTP(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/.vendor/src/github.com/zenazn/goji/web/mux.go:81 (0x1c678f)
(*Mux).ServeHTTP: stack.ServeHTTP(w, r)
/Users/corban/Projects/go/src/github.com/pressly/reeler/ws/web_handler.go:30 (0x5d3a8)
(*WebHandler).ServeHTTP: h.mux.ServeHTTP(w, r)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/net/http/server.go:1673 (0x139b8f)
serverHandler.ServeHTTP: handler.ServeHTTP(rw, req)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/net/http/server.go:1174 (0x13778e)
(*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req)
/usr/local/Cellar/go/1.3.1/libexec/src/pkg/runtime/proc.c:1445 (0x14fb0)
goexit: runtime·goexit(void)
15:5:01 app | 2014/12/08 15:05:01 INFO [corban.local/jj7eZUWeJi-000129] Returning 500 in 8.304017ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment