-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: Fast Track (FT)
-
Fix Version/s: 9.3
-
Component/s: How-tos / Tutorials
-
Tags:
-
Sprint:nxProduct-W46, nxProduct-2017-W48, nxProduct-2017-W50, nxProduct-2017-W52, nxK-2018-2, nxK-2018-3, nxK-2018-4, nxK-2018-5, nxK-2018-7, nxK-2018-8, nxK-2018-9
In the tutorial Discover Nuxeo Platform APIs, improve how we show errors.
Replace
code
console.log('Apologies, an error occurred.');
console.log(error);
code
With
code
console.log('Apologies, an error occurred.');
console.log(error);
if (error.response)
code