Closed SamuelSau closed 1 year ago
Documentation
getSummonerInfo.js querySummoner.js queryMatches.js
Create error handling functions in middleware folder
Inside the catch statement for querySummoner, console.log error.response and error.request, which helps us see where the error occurs.
console.log error.response and error.request
Send the appropriate response to client for HTTP status codes.
Documentation
getSummonerInfo.js querySummoner.js queryMatches.js
Create error handling functions in middleware folder