This commit is contained in:
Clebert Suconic 2020-04-13 16:03:43 -04:00
commit 18d38b717f
1 changed files with 3 additions and 3 deletions

View File

@ -512,9 +512,9 @@ public class CoreAmqpConverter {
body = new AmqpValue(s.toString());
}
}
} catch (Throwable ignored) {
logger.debug("Exception ignored during conversion", ignored.getMessage(), ignored);
body = new AmqpValue("Conversion to AMQP error!");
} catch (Throwable e) {
logger.debug("Exception ignored during conversion", e.getMessage(), e);
body = new AmqpValue("Conversion to AMQP error: " + e.getMessage());
}
}