mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-02 20:00:26 +08:00
13 lines
118 B
Go
13 lines
118 B
Go
package utils
|
|
|
|
import (
|
|
"runtime/debug"
|
|
)
|
|
|
|
func Recover() {
|
|
e := recover()
|
|
if e != nil {
|
|
debug.PrintStack()
|
|
}
|
|
}
|