Files
hooks/templates/error-page.md

33 lines
707 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# hook 失敗紀錄 — ERROR_{HASH}
> 由 `jsc-hooks` 的失敗回報流程建立。這是一筆單次異常紀錄,不覆寫舊內容;同類失敗再發生時,請另開新頁。
- 頁名:`ERROR_{HASH}`
- 發生時間:{yyyy-MM-dd HH:mm:ss}
- 存取庫名稱:{owner}/{repo}
- CLI:{cli}
- Session:{session_id}
- 觸發 hook:{hook_name}
- 退出碼:{exit_code}
- 錯誤摘要:{error_summary}
## 現象
- {現象描述}
## 可能原因
- {可能原因}
## 處理結果
- {處理方式}
## 相關資訊
| 欄位 | 內容 |
| --- | --- |
| 訊息來源 | {stdin / env / command} |
| 相關輸出 | {stdout / stderr 摘要} |
| 關聯 ticket | `TICKET_{yyyyMMdd}_{HHmmss}_{HASH}` |