Skip to content

Fixing custom error message not being shown and some more.

Subhang23 requested to merge Subhang23/CarbonFootprint-API:api into develop

Fixes #179 Added some custom error messages and ensured all the error messages are being passed on. Removed some parameters which do not affect the calculation of the carbon emission and accordingly made changes in controllers. Now the UtilDatafetch.js on passing the res.json to the InputData.js the data object on getting a failure will have a success(value will be set as false) and message which will contain the error message and can be directly displayed.

Edited by Subhang23

Merge request reports