Added additional logging for swallowed exception