changeset 47:58d93952642f

update to 3.9.0-beta.16 + improve error message display in the console
author Alain Mazy <am@orthanc.team>
date Fri, 24 May 2024 09:25:36 +0200
parents 63a392fbf14e
children 176a2504c041
files NEWS Resources/CreateOHIFDist.sh Sources/app-config-user.js
diffstat 3 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Thu May 23 10:46:19 2024 +0200
+++ b/NEWS	Fri May 24 09:25:36 2024 +0200
@@ -1,7 +1,7 @@
 Pending changes in the mainline
 ===============================
 
-* Updated OHIF to 3.9.0-beta.15 (that is actually a beta 3.8.1)
+* Updated OHIF to 3.9.0-beta.16 (that is actually a beta 3.8.1)
 * Enabled support for segmentation and microscopy modes
   Note that the microscopy mode is not stable yet in OHIF!
 
--- a/Resources/CreateOHIFDist.sh	Thu May 23 10:46:19 2024 +0200
+++ b/Resources/CreateOHIFDist.sh	Fri May 24 09:25:36 2024 +0200
@@ -28,7 +28,7 @@
 set -ex
 
 if [ "$1" = "" ]; then
-    PACKAGE=Viewers-3.9.0-beta.15
+    PACKAGE=Viewers-3.9.0-beta.16
 else
     PACKAGE=$1
 fi
--- a/Sources/app-config-user.js	Thu May 23 10:46:19 2024 +0200
+++ b/Sources/app-config-user.js	Fri May 24 09:25:36 2024 +0200
@@ -31,7 +31,11 @@
   // filterQueryParam: false,
   httpErrorHandler: error => {
     // This is 429 when rejected from the public idc sandbox too often.
-    console.warn(error.status);
+    if (error.status) {
+      console.warn(error.status);
+    } else {
+      console.warn(error);
+    }
   },
   hotkeys: [
     {