From cce851658fc1dc01746b2ffa37782c707265a16d Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@nps.edu> Date: Wed, 23 Oct 2024 05:32:25 -0700 Subject: [PATCH] encourage use of issues list --- src/java/org/xj3d/core/loading/ContentLoader.java | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/java/org/xj3d/core/loading/ContentLoader.java b/src/java/org/xj3d/core/loading/ContentLoader.java index 0575aa82..0f1c9934 100644 --- a/src/java/org/xj3d/core/loading/ContentLoader.java +++ b/src/java/org/xj3d/core/loading/ContentLoader.java @@ -38,8 +38,12 @@ class ContentLoader implements Runnable { /** Message for an unexpected exception message */ private static final String UNEXPECTED_EXCEPTION_MSG = - "ContentLoader: unexpected Xj3D exception during model loading"; - + "[ContentLoader] unexpected Xj3D exception during model loading"; + + private static final String Xj3D_ISSUE_LIST = + "New Xj3D issue needed to improve the open source, please see\n" + + " https://gitlab.nps.edu/Savage/xj3d/issues"; + /** The threading running this loader */ private Thread thread; @@ -123,8 +127,9 @@ class ContentLoader implements Runnable catch (Exception e) { // Any other exception - System.out.println ("ContentLoader exception:"); // debug - errorReporter.errorReport(UNEXPECTED_EXCEPTION_MSG, e); +// System.out.println ("ContentLoader exception:"); // debug + errorReporter.errorReport (UNEXPECTED_EXCEPTION_MSG, e); + errorReporter.messageReport(Xj3D_ISSUE_LIST); // e.printStackTrace(System.out); // debug inProgressLoadRequestMap.remove(currentLoadRequest.url); continue; -- GitLab