ls преди 2 години
родител
ревизия
df1476d7f4
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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())
 	}