add recover
This commit is contained in:
parent
8e134f4db5
commit
272210b23a
|
@ -493,6 +493,7 @@ func Prepare() gin.HandlerFunc {
|
||||||
|
|
||||||
func PrepareToC() gin.HandlerFunc {
|
func PrepareToC() gin.HandlerFunc {
|
||||||
return func(ctx *gin.Context) {
|
return func(ctx *gin.Context) {
|
||||||
|
defer logger.Recover()
|
||||||
// if !wsign.CheckSignature(ctx) {
|
// if !wsign.CheckSignature(ctx) {
|
||||||
// ReplyErrCodeMsg(ctx, errcode.ErrCodeCheckSignatureFail)
|
// ReplyErrCodeMsg(ctx, errcode.ErrCodeCheckSignatureFail)
|
||||||
// return
|
// return
|
||||||
|
|
Loading…
Reference in New Issue