From 7159de6daba686dce7a4481c8643fd7b6e5446bd Mon Sep 17 00:00:00 2001 From: Ashley Aiken Date: Tue, 11 Apr 2023 15:01:48 -0400 Subject: [PATCH] force a sentry error --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 3bed3765..a2202387 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,7 @@ package main import ( + "errors" "os" "time" @@ -29,6 +30,7 @@ func main() { logger.Log.WithFields(logrus.Fields{"error": err}).Error("Error loading Sentry SDK with GLITCHTIP_DSN") } else { logger.Log.Info("Sentry SDK initialization using Glitchtip was successful!") + sentry.CaptureException(errors.New("Testing glitchtip configuration")) } } else { logger.Log.Info("GLITCHTIP_DSN was not set, skipping Glitchtip initialization.")