added log

This commit is contained in:
Inal Arsanukaev 2019-07-01 15:54:13 +03:00
parent b47cac3be3
commit 971a129c75

View File

@ -39,7 +39,7 @@ public class InvoicingService implements EventService<MachineEvent, EventPayload
}
}
} catch (Throwable e) {
log.error("Unexpected error while handling events; machineId: {}, eventId: {}", machineEvent.getSourceId(), machineEvent.getEventId());
log.error("Unexpected error while handling events; machineId: {}, eventId: {}", machineEvent.getSourceId(), machineEvent.getEventId(), e);
throw e;
}
}