This commit is contained in:
2023-09-09 14:07:49 +10:00
parent 8a480acde7
commit 5f7befe02c
6 changed files with 173 additions and 53 deletions

View File

@@ -7,7 +7,11 @@ type Trace struct {
}
func (t *Trace) Error() string {
return "[debug trace available]"
return ""
}
func (t *Trace) Trace() []string {
return nil
}
func GetTraces() error {

View File

@@ -3,5 +3,5 @@ package debugframes
type PanicTrace []byte
func (p PanicTrace) Error() string {
return "[panic trace available]"
return ""
}