Skip to content

Instantly share code, notes, and snippets.

@jamland
Created August 12, 2013 20:17
Show Gist options
  • Save jamland/6214725 to your computer and use it in GitHub Desktop.
Save jamland/6214725 to your computer and use it in GitHub Desktop.
Intergalactic:goab andy$ cd app/
Intergalactic:app andy$ go run api.go -v=2 -logtostderr
stat api.go: no such file or directory
Intergalactic:app andy$ cd ..
Intergalactic:goab andy$ go run cmd/api/main.go -v=2 -logtostderr
panic: open templates/notice.xml: no such file or directory
goroutine 1 [running]:
html/template.Must(0x0, 0xc2000e2cf0, 0xc2000e2cc0, 0x1)
/usr/local/Cellar/go/1.1.1/src/pkg/html/template/template.go:284 +0x4d
github.com/airbrake/goab/core.NewTemplate(0x4940ef8, 0x1, 0x1, 0x446cbf0)
/Users/andy/Sites/gocode/src/github.com/airbrake/goab/core/tpl.go:11 +0xcb
github.com/airbrake/goab/forms.init·1()
/Users/andy/Sites/gocode/src/github.com/airbrake/goab/forms/simulate.go:19 +0xb5
github.com/airbrake/goab/forms.init()
/Users/andy/Sites/gocode/src/github.com/airbrake/goab/forms/simulate.go:79 +0x63
github.com/airbrake/goab/handlers.init()
/Users/andy/Sites/gocode/src/github.com/airbrake/goab/handlers/status.go:130 +0x43
main.init()
/Users/andy/Sites/gocode/src/github.com/airbrake/goab/cmd/api/main.go:23 +0x43
goroutine 2 [syscall]:
goroutine 3 [runnable]:
goroutine 4 [runnable]:
github.com/golang/glog.(*loggingT).flushDaemon(0x46f0fa0)
/Users/andy/Sites/gocode/src/github.com/golang/glog/glog.go:802
created by github.com/golang/glog.init·1
/Users/andy/Sites/gocode/src/github.com/golang/glog/glog.go:370 +0x274
exit status 2
Intergalactic:goab andy$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment