You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition console.log(error), may I suggest also sending something back to the user (like you have done for some others) e.g.:
res.writeHead(500,'Content-Type:text/html');res.end('<h1>Sorry, there was a problem on our side<h1>');
Since you'll be using this multiple times, perhaps have it has a function that you re-use (with an argument if you wanted to pass in a custom message).
The text was updated successfully, but these errors were encountered:
In
logic.js
ToVaHayGi/public/logic.js
Lines 12 to 14 in 4b3cf6e
setStorage()
) to become error first and display it to the user.In
handler.js
:ToVaHayGi/src/handler.js
Lines 148 to 149 in 4b3cf6e
ToVaHayGi/src/handler.js
Lines 39 to 41 in 4b3cf6e
In addition
console.log(error)
, may I suggest also sending something back to the user (like you have done for some others) e.g.:Since you'll be using this multiple times, perhaps have it has a function that you re-use (with an argument if you wanted to pass in a custom message).
The text was updated successfully, but these errors were encountered: