已合并
fix: 修正ATC内部错误提示 #4462
gentle-knight创建于 13 天前
fix: 修正ATC内部错误提示 #4462
已合并
gentle-knight创建于 13 天前
gentle-knight
gentle-knight成员
13 天前

Pull Request

描述

将 ATC 未知内部错误提示由 E19999: Inner Error! 修正为 E19999: Internal Error!。本 PR 仅修改这一处提示文本。

变更类型

关联的Issue

无。

如何测试

  1. 执行 git diff --check upstream/develop...HEAD,检查通过。
  2. 按本次提交要求,未触发 CI。

核对清单

其他信息

本 PR 相对最新 develop 仅包含一个提交和一行提示文本修改。

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 gentle-knight 的贡献)
gentle-knightgentle-knight成员
13 天前 创建了 pull request,commit 1c8164fc
atomgit-bot
atomgit-bot
13 天前 评论:

变更摘要

本 PR 是一个纯文本修正的 Bug 修复:将 ATC 未知内部错误的提示语由 E19999: Inner Error! 更正为 E19999: Internal Error!。改动位于 api/atc/main_impl.ccOutputErrMessageToStdout() 函数中,即当 error_message::GetErrMgrErrorMessage() 返回空指针、输出未知错误信息时使用的提示文案,仅涉及一行文本,不影响任何接口、数据结构或逻辑行为。

主要改动

  • 修正内部错误提示文案: 在 api/atc/main_impl.ccOutputErrMessageToStdout() 中,将未知错误输出行的 E19999: Inner Error! 改为 E19999: Internal Error!,使措辞更准确。
  • 错误信息输出流程保持不变: 除该行提示文本外,err_stream 的构建方式、后续 An unknown error occurred. Please check the log. 提示及输出逻辑均未变动。
likedislike
atomgit-bot
atomgit-bot
13 天前 评论:

代码审查

✅ 未发现问题

likedislike
CANN-robotCANN-robot成员
13 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
13 天前 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
For more, you also can visit HICANN.


PR Approval Progress

Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
repo-cann/ge zhanj, yangyongqiang0606 (2/2) zhanj (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

gentle-knight, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robot成员
13 天前 将yangyongqiang0606,kobemini,ClarkXie,tangqunzhang,xchu42,hugo111,lining23666,fu-jun2,depeng1994,wqtshg_wt,peiyang,shengnan666,zhangfan_hanq,zhanj,zhujingjing,Mexyy,wangxiaotian995,stevenaw0,yuht9设为评审人
CANN-robotCANN-robot成员
13 天前 将yangyongqiang0606,kobemini,ClarkXie,tangqunzhang,xchu42,hugo111,lining23666,fu-jun2,depeng1994,wqtshg_wt,peiyang,shengnan666,zhangfan_hanq,zhanj,zhujingjing,Mexyy,wangxiaotian995,stevenaw0,yuht9设为审查人
zhanj
zhanj成员
13 天前 评论:

compile

likedislike
gentle-knightgentle-knight成员
13 天前 update merge request[project id: 8824148, iid: 4462, commit_id: 3e04a06aa720de480abde8262604bbf4deecebdb] virtual merging success
CANN-robotCANN-robot成员
13 天前 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
13 天前 评论:

流水线任务触发成功
任务链接 [ecc041283ef345df894b189972369109][流水线指导]

任务名称状态日志下载链接
pre_comment ✅ SUCCESS >>>>>
Compile_ARM_compiler ✅ SUCCESS >>>>> >>>>>
Compile_ARM_executor ✅ SUCCESS >>>>> >>>>>
Compile_ARM_dflow ✅ SUCCESS >>>>> >>>>>
API_Check ✅ SUCCESS >>>>>
PreSmoke_A900_npupool ✅ SUCCESS >>>>>

[2026-08-19 17:21:15]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
13 天前 评论:

流水线任务触发成功
任务链接 [7f8e6797e33c4076a08331975481b7c6][流水线指导]

任务名称状态日志下载链接
pre_comment ✅ SUCCESS >>>>>
Compile_X86_compiler ✅ SUCCESS >>>>> >>>>>
Compile_X86_executor ✅ SUCCESS >>>>> >>>>>
Compile_X86_dflow ✅ SUCCESS >>>>> >>>>>
UT_Test_dflow ✅ SUCCESS
UT_Test_ge_common ✅ SUCCESS
UT_Test_parser ✅ SUCCESS
UT_Test_python ✅ SUCCESS >>>>>
UT_Test_rt ✅ SUCCESS
UT_Test_acl ✅ SUCCESS
UT_Test_autofuse ✅ SUCCESS
UT_Test_executor ✅ SUCCESS
UT_Test_autofuse_ascendc_api ✅ SUCCESS
ST_Test_dflow ✅ SUCCESS
ST_Test_ge_common ✅ SUCCESS
ST_Test_parser ✅ SUCCESS
ST_Test_python ✅ SUCCESS >>>>>
ST_Test_rt ✅ SUCCESS
ST_Test_autofuse ✅ SUCCESS
ST_Test_executor ✅ SUCCESS
ST_Test_hetero ✅ SUCCESS
ST_Test_autofuse_ascendc_api ✅ SUCCESS
ST_Test_autofuse_e2e ✅ SUCCESS
UT_Test_fe ✅ SUCCESS
UT_Test_tefusion ✅ SUCCESS
ST_Test_fe ✅ SUCCESS
ST_Test_tefusion ✅ SUCCESS
ST_Test_ge_common_atc ✅ SUCCESS
UT_Test_Report_graphengine ✅ SUCCESS >>>>>
UT_Test_Report_ge_executor_c ✅ SUCCESS >>>>>
UT_Test_Report_ge_autofuse ✅ SUCCESS >>>>>
ST_Test_Report_graphengine ✅ SUCCESS >>>>>
ST_Test_Report_ge_executor_c ✅ SUCCESS >>>>>
ST_Test_Report_ge_autofuse ✅ SUCCESS >>>>>
UT_Test_Report_fe ✅ SUCCESS >>>>>
ST_Test_Report_fe ✅ SUCCESS >>>>>

[2026-08-19 18:09:35]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
13 天前 评论:

流水线任务触发成功
任务链接 [f4e1214b5b204488bca3efcf26fbe1e8][流水线指导]

任务名称状态日志下载链接
codecheck_Pr ✅ SUCCESS
antipoison ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
codecheck_dt ✅ SUCCESS >>>>>
codecheck_precommit ✅ SUCCESS >>>>>
StaticCheck_codespell ✅ SUCCESS
StaticCheck_link_validity ✅ SUCCESS
StaticCheck_resource_existence ✅ SUCCESS
StaticCheck_tag_closed ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS

[2026-08-19 17:16:00]    CI执行结束

likedislike
CANN-robotCANN-robot成员
13 天前 添加了label:api-check-pass
zhanj
zhanj成员
13 天前 评论:

/lgtm

likedislike
yangyongqiang
yangyongqiang成员
13 天前 评论:

/lgtm

likedislike
CANN-robotCANN-robot成员
13 天前 添加了label:lgtm
CANN-robotCANN-robot成员
13 天前 添加了label:ci-confirmedci-pipeline-passed
zhanj
zhanj成员
13 天前 评论:

/approve

likedislike
CANN-robotCANN-robot成员
13 天前 添加了label:approved
CANN-robotCANN-robot成员
13 天前 合入了pull request
CANN-robotCANN-robot成员
13 天前 删除了label:ci-pipeline-passedapi-check-pass
CANN-robotCANN-robot成员
13 天前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
13 天前 添加了label:ci-pipeline-passed