Reformat exception to better understand the source of the problem (#15597)
* Reformat exception to better understand the source of the problem Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>7.20.x
parent
9173c5d288
commit
ca86fcb97d
|
|
@ -530,11 +530,12 @@ public class KubernetesDeployments {
|
|||
if (happenedAfterWatcherInitialization(podEvent)) {
|
||||
containerEventsHandlers.forEach(h -> h.handle(podEvent));
|
||||
}
|
||||
} catch (ParseException | IllegalArgumentException e) {
|
||||
} catch (ParseException e) {
|
||||
LOG.error(
|
||||
"Failed to parse last timestamp of the event. Cause: {}. Event: {}",
|
||||
e.getMessage(),
|
||||
podEvent);
|
||||
podEvent,
|
||||
e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue