Skip to content

Commit

Permalink
Revert "force a sentry error (RedHatInsights#108)" (RedHatInsights#109)
Browse files Browse the repository at this point in the history
This reverts commit e6dea91.
  • Loading branch information
abaiken authored Apr 11, 2023
1 parent e6dea91 commit 1cec2d1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package main

import (
"errors"
"os"
"time"

Expand Down Expand Up @@ -30,7 +29,6 @@ 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.")
Expand Down

0 comments on commit 1cec2d1

Please sign in to comment.