mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 09:44:26 +08:00
add comments
This commit is contained in:
@@ -19,6 +19,7 @@ var (
|
||||
slash = []byte("/")
|
||||
)
|
||||
|
||||
// Recovery logs error message when error occurs
|
||||
func Recovery(c *core.Context) {
|
||||
defer func() {
|
||||
if err := recover(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user