isomorphic-git/isomorphic-git

Improve fatal error message

已關閉

#2,216 建立於 2025年10月10日

 (8 則留言) (0 個反應) (0 位負責人)JavaScript (351 個分叉)batch import
enhancementgood first issue

倉庫指標

星標
 (7,054 顆星)
PR 合併指標
 (平均合併 13天 13小時) (30 天內合併 7 個 PR)

描述

By default, the fatal error message just suggest creating an issue in this project.

This is not ideal because people report bugs in applications they are using. Without any information what kind of application it is.

Those bugs can be reported here, but also in the project the user is using. The developers of the app that use isomorphic-git should fix the bug. And if they found that the issue is on our side, they should report a bug themselves with all required info.

So the text is to improve the error message somehow. To make it clear that if they are not developers and use some application, they should report the bug to the developers of that app.

Example error and bug report:

Proposed information that should be included:

"If you're not a developer, report the bug to the developers of the application you're using. If this is a bug in isomorphic-git they should create a proper bug themselves. The bug should include a minimal reproduction and details about the version and environment."

貢獻者指南