From 709f14708e2b0f912b5ea509114acd87af3149cb Mon Sep 17 00:00:00 2001 From: Danny Brown Date: Thu, 23 Apr 2020 12:17:49 -0400 Subject: [PATCH] fix: undefined `errorHandler` in cornerstoneWadoImageLoader configuration (#1664) --- platform/viewer/src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/viewer/src/config.js b/platform/viewer/src/config.js index 7983a5f9b..8a56e7cd7 100644 --- a/platform/viewer/src/config.js +++ b/platform/viewer/src/config.js @@ -54,7 +54,7 @@ export function setConfiguration(appConfig) { // const { appConfig = {} } = AppContext; if (typeof appConfig.httpErrorHandler === 'function') { - appConfig.httpErrorHandler(errorHandler); + appConfig.httpErrorHandler(error); } }, });