Closed brandoningli closed 3 years ago
Describe the bug
Getting ITS Service Notes can hang when a network connection is lost, preventing any future requests for them.
To Reproduce
Expected behavior
The request times out after a certain period
Screenshots
Runtime Info
Additional context
This SO article explains how to use Promises to implement a timeout. https://stackoverflow.com/a/60551865
This should also be wrapped in a try/catch.
Describe the bug
Getting ITS Service Notes can hang when a network connection is lost, preventing any future requests for them.
To Reproduce
Expected behavior
The request times out after a certain period
Screenshots
Runtime Info
Additional context