Closed Ayushk4 closed 5 years ago
I don't know why but the app crashed possibly due to some Heroku issue. It should be working after a quick dyno restart. 😅
@kshitij10496 It crashed again :sweat_smile: . It seems that the 404 handler is not working.
I request for a course code that did not exist (accidentaly) : https://hercules-10496.herokuapp.com/api/v1/course/timetable/MA6102 , after which it crashed.
Got the bug!
I have used log.Fatal
for debugging invalid requests. 🙈
This is causing the app to crash when the user is making invalid requests.
All the logs should be log.Print
for now.
Making a quick fix to master.
I will keep finding bugs to bother you :stuck_out_tongue: .
It shows internal server err : 500 instead of bad request or 404.
I will keep finding bugs to bother you 😛 .
That's actually great! I think those would be good places to get started with contributing to the API server.
https://hercules-10496.herokuapp.com/api/v1/department/info/all Tried, various links, none works.