Closed brandoningli closed 3 years ago
Related bugs/feature requests
Describe the changes
Set a timeout for ITS service notes requests and properly handle exceptions.
Expected behavior
Spike shouldn't crash for random exceptions regarding service notes anymore.
Screenshots
New npm dependencies
Testing Instructions
truman-its-service-notes.js
src
node plugins/itsServiceNotes/truman-its-service-notes.js
Additional context
Tested already on Simone with the short timeout, and it console.errored as expected.
console.error
Related bugs/feature requests
Describe the changes
Set a timeout for ITS service notes requests and properly handle exceptions.
Expected behavior
Spike shouldn't crash for random exceptions regarding service notes anymore.
Screenshots
New npm dependencies
Testing Instructions
truman-its-service-notes.js
to 10ms.src
, runnode plugins/itsServiceNotes/truman-its-service-notes.js
Additional context