Rework the log and include the Exception in it to help the debugging
Change-Id: I8930a4bd65bf2cac48cb1fbf98fb17fe69b5d909
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
versions.add(version);
} catch (Exception e) {
// just print warning - if n;o policies, version may be null
- logger.warn("warning: failed to parse policyConfig.getPolicyVersion()="
- + policyConfig.getPolicyVersion());
+ logger.warn("Failed to parse due to an exception policyConfig.getPolicyVersion()="
+ + policyConfig.getPolicyVersion(), e);
}
}
Collections.sort(versions);