File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import {
17
17
StoreProvider ,
18
18
WfoAuth ,
19
19
WfoErrorBoundary ,
20
+ WfoErrorMonitoring ,
20
21
WfoErrorMonitoringProvider ,
21
22
WfoMenuItemLink ,
22
23
WfoPageTemplate ,
@@ -79,14 +80,21 @@ function CustomApp({
79
80
} ,
80
81
] ;
81
82
83
+ const errorMonitoringHandler : WfoErrorMonitoring | undefined = {
84
+ reportError : ( error ) => console . error ( error ) ,
85
+ reportMessage : ( ) => { } ,
86
+ } ;
87
+
82
88
return (
83
89
< WfoErrorBoundary >
84
90
< OrchestratorConfigProvider
85
91
initialOrchestratorConfig = { orchestratorConfig }
86
92
>
87
93
< StoreProvider initialOrchestratorConfig = { orchestratorConfig } >
88
94
< SessionProvider session = { pageProps . session } >
89
- < WfoErrorMonitoringProvider >
95
+ < WfoErrorMonitoringProvider
96
+ errorMonitoringHandler = { errorMonitoringHandler }
97
+ >
90
98
< WfoAuth >
91
99
< EuiProvider
92
100
colorMode = { themeMode }
You can’t perform that action at this time.
0 commit comments