We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e838a5 commit 3c304f7Copy full SHA for 3c304f7
Part3/phonebook/frontend/src/App.jsx
@@ -76,7 +76,7 @@ const App = (props) => {
76
)
77
);
78
})
79
- .catch(() => {
+ .catch((error) => {
80
console.log(error.response.data.error);
81
setNotification(`${error.response.data.error}`);
82
setNotificationStyle("error");
0 commit comments