Skip to content

Commit 0ebd007

Browse files
committed
add prefetch error handling
1 parent 4067c5b commit 0ebd007

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dashboard/Data/Browser/DataBrowser.react.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,8 @@ export default class DataBrowser extends React.Component {
725725
[objectId]: { data: result, timestamp: Date.now() },
726726
},
727727
}));
728+
}).catch(error => {
729+
console.error(`Failed to prefetch object ${objectId}:`, error);
728730
});
729731
}
730732

0 commit comments

Comments
 (0)