We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64011e2 commit 8a1f178Copy full SHA for 8a1f178
resources/js/components/CategoriesCreate.vue
@@ -28,7 +28,8 @@ export default {
28
}).then( function(response) {
29
console.log('New Category ID', response.data.data.id);
30
}).catch(function(err) {
31
- console.log('Category Route error Promise has been rejected!', err);
+ console.log(err);
32
+ console.log('Category Route error Promise has been rejected!', err.response.data.errors);
33
});
34
}
35
0 commit comments