wanshenmean
2026-03-27 59bc10620e483c7f558eac4127d04d08871f0e27
fix(RouterService): QueryAllPositions 空 catch 块增加错误日志

记录异常信息便于排查问题。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
已修改1个文件
4 ■■■■ 文件已修改
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/RouterService.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/RouterService.cs
@@ -409,9 +409,9 @@
                    // 返回去重后的位置列表
                    return positions.GroupBy(x => x).Select(x => x.Key).ToList();
                }
                catch
                catch (Exception ex)
                {
                    ConsoleHelper.WriteErrorLine($"RouterService.QueryAllPositions 查询失败: {ex.Message}");
                }
                finally
                {