HiITEdenX 2 年之前
父節點
當前提交
77a215e63e
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      TEAMModelOS.FunctionV4/ServiceBus/ActiveTaskTopic.cs

+ 4 - 1
TEAMModelOS.FunctionV4/ServiceBus/ActiveTaskTopic.cs

@@ -1395,7 +1395,10 @@ namespace TEAMModelOS.FunctionV4.ServiceBus
                                 }
                                 catch (Exception ex)
                                 {
-                                    await _dingDing.SendBotMsg($"{Environment.GetEnvironmentVariable("Option:Location")}课程读取base.json,{_lessonId}\n{ex.Message}\n{ex.StackTrace}\n\n{lessonRecord.ToJsonString()}", GroupNames.醍摩豆服務運維群組);
+                                    if (!ex.Message.Contains("exist")) {
+                                        await _dingDing.SendBotMsg($"{Environment.GetEnvironmentVariable("Option:Location")}课程读取base.json,{_lessonId}\n{ex.Message}\n{ex.StackTrace}\n\n{lessonRecord.ToJsonString()}", GroupNames.醍摩豆服務運維群組);
+                                    }
+                                    
                                 }
                                 break;
                             //更新 时间线