Skip to content

Commit 2abd161

Browse files
committed
Catch errors when fetch fails
1 parent a924a21 commit 2abd161

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dash/dash-renderer/src/components/error/menu/VersionInfo.react.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ async function requestDashVersionInfo(config) {
6060
}
6161
})
6262
.then(response => response.json())
63+
.catch(() => {})
6364
.then(body => {
6465
localStorage.setItem(
6566
'cachedNewDashVersion',

0 commit comments

Comments
 (0)