fix for NPE in HAPI

This commit is contained in:
Grahame Grieve 2023-09-14 19:31:15 -07:00
parent 771947a958
commit f72dfa83ef
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ public class ContextUtilities implements ProfileKnowledgeProvider {
} catch (Exception e) { } catch (Exception e) {
if (!isSuppressDebugMessages()) { if (!isSuppressDebugMessages()) {
System.out.println("Unable to generate snapshot @2 for "+tail(sd.getUrl()) +" from "+tail(sd.getBaseDefinition())+" because "+e.getMessage()); System.out.println("Unable to generate snapshot @2 for "+tail(sd.getUrl()) +" from "+tail(sd.getBaseDefinition())+" because "+e.getMessage());
if (context.getLogger().isDebugLogging()) { if (context.getLogger() != null && context.getLogger().isDebugLogging()) {
e.printStackTrace(); e.printStackTrace();
} }
} }