Browse Source

update err

ls 1 year ago
parent
commit
df1476d7f4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      db/config.go

+ 2 - 0
db/config.go

@@ -87,6 +87,8 @@ func ReplyToReplyData(reply Reply) *myth.ReplyData {
 			status = myth.ErrNotAllowed
 		case ErrCreditLimit:
 			status = myth.ErrNotAllowed
+		default:
+			status = myth.ErrException
 		}
 		return myth.ReplyErr(status, reply.LastErr.Error())
 	}