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."

贡献者指南