Closed melvincarvalho closed 2 months ago
@ellipsis-dev do this: The catch block in the userLogin method does not specify the type of error it is catching. It's recommended to either specify the error type or log the error for better debugging and error handling. Consider adding a parameter to the catch block and logging it. suggestion } catch (error) { console.error(error); Swal.fire({ icon: "error", title: "Oops...", text: "Something went wrong!", footer: '
' }); }@melvincarvalho, I have addressed your comments in pull request https://github.com/nosdav/bookmarks/pull/15
Summary:
Enhanced the login UX in
app.js
by adding error handling and user feedback in theuserLogin
function.Key points:
userLogin
function inApp
class withinapp.js
.Generated with :heart: by ellipsis.dev