From 4817dd5efa726f636a502e3beafc88c1882aa24f Mon Sep 17 00:00:00 2001 From: yashen Date: Wed, 30 Nov 2016 17:44:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E5=BE=AE=E4=BF=A1=E5=AE=A1?= =?UTF-8?q?=E6=89=B9=E6=B6=88=E6=81=AF=E6=97=B6=E6=B2=A1=E6=9C=89=E5=85=B3?= =?UTF-8?q?=E6=B3=A8=E4=B8=8D=E6=8A=9B=E5=87=BA=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- B3WeChat/Rpcs/ApproveMessageRpc.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/B3WeChat/Rpcs/ApproveMessageRpc.cs b/B3WeChat/Rpcs/ApproveMessageRpc.cs index c6f3513..5b9d92e 100644 --- a/B3WeChat/Rpcs/ApproveMessageRpc.cs +++ b/B3WeChat/Rpcs/ApproveMessageRpc.cs @@ -34,7 +34,7 @@ namespace BWP.B3WeChat.Rpcs if (string.IsNullOrEmpty(openID)) { - throw new Exception("审批用户没有关注公众号"); + return;//没有关注时不抛出异常,因为此操作比较普遍,并且消息比较大,导致系统日志中出现大量的错误日志 } message.OpenID = openID;