Initial commit (code only without large binaries)
This commit is contained in:
12
EdgeAdmin/internal/utils/recover.go
Normal file
12
EdgeAdmin/internal/utils/recover.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"runtime/debug"
|
||||
)
|
||||
|
||||
func Recover() {
|
||||
e := recover()
|
||||
if e != nil {
|
||||
debug.PrintStack()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user