fix: undefined errorHandler in cornerstoneWadoImageLoader configuration (#1664)
This commit is contained in:
1 parent
5f4c4ab5e7
commit
709f14708e
1 file changed
+1
-1
@@ -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);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user