adityakalburgi / adityakalburgi/Travel_ageny_website
[Feature ]: add a asyncHandler utility for code optimization
- 主要言語
- JavaScript
- スター
- 9
- フォーク
- 20
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Introduce a reusable asyncHandler utility function to streamline error handling in asynchronous route controllers across the backend codebase. This utility will help eliminate repetitive try-catch blocks and improve code readability and maintainability.
✅ Objective:
Wrap all async controller functions using asyncHandler to automatically catch and forward errors to the error-handling middleware.
Enhance consistency and reduce boilerplate in controller files.
💡 Benefit:
Cleaner controller code.
Centralized error handling.
Easier debugging and maintenance.
@adityakalburgi plzz assign this issue to me i would like to contribute
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。