mirror of
https://github.com/lwch/natpass
synced 2025-10-06 13:57:16 +08:00
10 lines
154 B
Go
10 lines
154 B
Go
package utils
|
|
|
|
import "github.com/lwch/logging"
|
|
|
|
func Recover(name string) {
|
|
if err := recover(); err != nil {
|
|
logging.Error("%s: %v", name, err)
|
|
}
|
|
}
|