Linting fixes

This commit is contained in:
Hein
2025-11-11 11:03:02 +02:00
parent 412bbab560
commit 682716dd31
21 changed files with 302 additions and 290 deletions

View File

@@ -75,7 +75,7 @@ func Debug(template string, args ...interface{}) {
// CatchPanic - Handle panic
func CatchPanicCallback(location string, cb func(err any)) {
if err := recover(); err != nil {
//callstack := debug.Stack()
// callstack := debug.Stack()
if Logger != nil {
Error("Panic in %s : %v", location, err)
@@ -84,7 +84,7 @@ func CatchPanicCallback(location string, cb func(err any)) {
debug.PrintStack()
}
//push to sentry
// push to sentry
// hub := sentry.CurrentHub()
// if hub != nil {
// evtID := hub.Recover(err)