facg3 / chemics

0 stars 1 forks source link

No error handling for xhr #24

Open sultanassi95 opened 6 years ago

sultanassi95 commented 6 years ago

in: (script.js) it seems like you really need to handle xhr request errors that may occur, it should be inside this block,

https://github.com/facg3/chemics/blob/170e4ac80db74d357b1ad59a5d5867ae88b35a90/public/script.js#L8

and after the failing of the next if statemes ... https://github.com/facg3/chemics/blob/170e4ac80db74d357b1ad59a5d5867ae88b35a90/public/script.js#L9

yahyaHB commented 6 years ago

we're working on it