You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
When a user selects a sample, the webview will fail to render if they have no internet connection. This is because we attempt to fetch the samples README.
const response: any = await Axios.get(options.sample.readme);
Expected Behavior
We should either throw an error after a certain timeout value, or we should render the page without the README and let the user know we were unable to retrieve it.
Actual Behavior
Sample webview fails to render.
Possible Fix
On the Axios.get() request, we could pass a timeout value as one of the options.
Description
When a user selects a sample, the webview will fail to render if they have no internet connection. This is because we attempt to fetch the samples README.
const response: any = await Axios.get(options.sample.readme);
Expected Behavior
We should either throw an error after a certain timeout value, or we should render the page without the README and let the user know we were unable to retrieve it.
Actual Behavior
Sample webview fails to render.
Possible Fix
On the
Axios.get()
request, we could pass a timeout value as one of the options.Steps to Reproduce
Existing issues
Log File
Your Environment
The text was updated successfully, but these errors were encountered: