Hi,
I’m a bit new to Golang, and trying to integrate Sentry with Golang and Gorilla Mux
In the main.go, I added:
func init() {
raven.SetDSN("https://xxxx@sentry.io/xxxxx")
}
As stated in the doc
Then in my route definition, I add:
Route{"get_all_operations", "GET", "/operations", raven.RecoveryHandler(getAllOperations),},
In getAllOperations, I generate an error, but I can’t see it on sentry.
I also tried on the first line:
raven.CaptureError(err, nil)
but I don’t catch any errors. Any idea how should I do it ?