We should probably fix that by improving the log message: it should contain name of the attachment and exception message only. We can log the full exception in a debug log if we need to.