scorelab / Stackle

Stackle is an web communication portal aimed at providing Open Source organizations a platform to have discussions on their github projects and their issues. It provides Github intergration which allows adminstrator of an organization to create a forum thread for the particualr organization. Users signing in is able to view forums of the organizations they contribute to and engage in the forum discussions.
Apache License 2.0
104 stars 146 forks source link

Need centralized error handling #76

Closed varunzxzx closed 6 years ago

varunzxzx commented 6 years ago

Type of issue

Short description of the issue

Every route is handling the error on its own which is just doubling the effort. It should handle all the error centrally.

Possible fix

I have created a PR #75. A middleware is added, which is working as an error handler. It will catch all the error thrown by any module.

varunzxzx commented 6 years ago

Closing as PR is already merged