Skip to content
Permalink
Browse files
Applied patch for TRANSPORTS-36.
  • Loading branch information
Sagara Gunathunga committed Feb 28, 2012
1 parent cbb81de commit d7dac184647688e6495309edb4d9c51b796506c8
Showing 1 changed file with 3 additions and 2 deletions.
@@ -85,8 +85,9 @@ public static void markServiceAsFaulty(String serviceName, String msg,
if (serviceName != null) {
try {
AxisService service = axisCfg.getService(serviceName);
axisCfg.getFaultyServices().put(service.getName(), msg);

if (service != null) {
axisCfg.getFaultyServices().put(service.getName(), msg);
}
} catch (AxisFault axisFault) {
log.warn("Error marking service : " + serviceName + " as faulty", axisFault);
}

0 comments on commit d7dac18

Please sign in to comment.