> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# EndTry

## 指令说明

**描述：** 标记【尝试执行】与【失败时执行】结构的结束位置，使流程从异常处理结构之后继续运行。

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/hehnGp4k_n09pm65/helpcenter/commands/others/images/endtrycommand-04.png?fit=max&auto=format&n=hehnGp4k_n09pm65&q=85&s=6a73e7718e5e0ddd17a27ad7c6765180" alt="EndTry指令参数面板" width="665" height="260" data-path="helpcenter/commands/others/images/endtrycommand-04.png" />
  </Tab>
</Tabs>

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/y7Z2TvwRJJef-uiI/helpcenter/commands/others/images/endtrycommand-02.png?fit=max&auto=format&n=y7Z2TvwRJJef-uiI&q=85&s=037f0927f7bc7c6154be3bf20932a80c" alt="EndTry使用示例" width="954" height="337" data-path="helpcenter/commands/others/images/endtrycommand-02.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/y7Z2TvwRJJef-uiI/helpcenter/commands/others/images/endtrycommand-01.png?fit=max&auto=format&n=y7Z2TvwRJJef-uiI&q=85&s=d2e0da89a7424d2c7615fe5d0761c4c0" alt="EndTry使用示例" width="948" height="170" data-path="helpcenter/commands/others/images/endtrycommand-01.png" />

**该流程执行逻辑：**

使用【Try】尝试执行下面的命令

使用【Catch】捕获错误信息，并将错误信息保存到”错误信息“

使用【打印日志】指令打印错误信息

执行【EndTry】结束尝试执行

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
