Skip to content

About

Another Sentry middleware for the Echo framework

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

echo-sentry-middleware

Another Sentry middleware for the Echo framework

Usage

func main() {
    // Echo instance
	e := echo.New()
	dsn, found := os.LookupEnv("SENTRY_RAVEN_DSN")
	if found {
		raven.SetDSN(dsn)
		e.Use(sentrymiddleware.SentryErrorRecover())
    }    
	// Start server
	e.Logger.Fatal(e.Start(":1323"))
}

Todo

  1. Set DSN via this package (and use own client)
  2. Tests
  3. Better example.
  4. Versioning.

About

Another Sentry middleware for the Echo framework

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

⌂ 换网址