fix: undefined errorHandler in cornerstoneWadoImageLoader configuration (#1664)
This commit is contained in:
parent
5f4c4ab5e7
commit
709f14708e
@ -54,7 +54,7 @@ export function setConfiguration(appConfig) {
|
|||||||
// const { appConfig = {} } = AppContext;
|
// const { appConfig = {} } = AppContext;
|
||||||
|
|
||||||
if (typeof appConfig.httpErrorHandler === 'function') {
|
if (typeof appConfig.httpErrorHandler === 'function') {
|
||||||
appConfig.httpErrorHandler(errorHandler);
|
appConfig.httpErrorHandler(error);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user