MCPcopy
hub / github.com/MrNothing/AI-Blocks / componentDidCatch

Method componentDidCatch

Sources/src/Model/UI/RunningItems.js:13–18  ·  view source on GitHub ↗
(error, info)

Source from the content-addressed store, hash-verified

11 }
12
13 componentDidCatch(error, info) {
14 // Display fallback UI
15 this.setState({ hasError: true });
16 // You can also log the error to an error reporting service
17 window.service.log(error, info, 2);
18 }
19
20 Run()
21 {

Callers

nothing calls this directly

Calls 1

logMethod · 0.80

Tested by

no test coverage detected