mirror of
https://github.com/safing/portbase
synced 2025-09-01 10:09:50 +00:00
Add module name to module error
This commit is contained in:
parent
1dfba1d596
commit
28942e4232
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ import (
|
|||
"context"
|
||||
"fmt"
|
||||
"runtime/pprof"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/safing/portbase/info"
|
||||
|
@ -155,7 +156,7 @@ func (di *Info) AddLastReportedModuleError() {
|
|||
}
|
||||
|
||||
di.AddSection(
|
||||
"Module Error",
|
||||
fmt.Sprintf("%s Module Error", strings.Title(me.ModuleName)),
|
||||
UseCodeSection,
|
||||
me.Format(),
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue