Open helenzhou6 opened 6 years ago
https://github.com/fac-13/HEII-topics/blob/5a2f685173bf6e594f946c1b491b01f0d44d52c7/src/handler.js#L156-L159
And
https://github.com/fac-13/HEII-topics/blob/5a2f685173bf6e594f946c1b491b01f0d44d52c7/src/handler.js#L193-L203
--> These functions need error handling at the beginning
if(err) { addErrorCookie(response, 'sorry there was en error on our end trying to process your request'); } else { // do this }
https://github.com/fac-13/HEII-topics/blob/5a2f685173bf6e594f946c1b491b01f0d44d52c7/src/handler.js#L156-L159
And
https://github.com/fac-13/HEII-topics/blob/5a2f685173bf6e594f946c1b491b01f0d44d52c7/src/handler.js#L193-L203
--> These functions need error handling at the beginning