From 00d0acdd93f0c943dcf727d5d426079c487b5ae2 Mon Sep 17 00:00:00 2001 From: pfouto Date: Mon, 31 May 2021 16:22:05 +0100 Subject: [PATCH] Updated crash message (again) --- pom.xml | 2 +- .../java/pt/unl/fct/di/novasys/babel/core/GenericProtocol.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 70b6dc8..2a80477 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ pt.unl.fct.di.novasys babel-core - 0.4.41 + 0.4.42 UTF-8 diff --git a/src/main/java/pt/unl/fct/di/novasys/babel/core/GenericProtocol.java b/src/main/java/pt/unl/fct/di/novasys/babel/core/GenericProtocol.java index 96d09c8..2dce46a 100644 --- a/src/main/java/pt/unl/fct/di/novasys/babel/core/GenericProtocol.java +++ b/src/main/java/pt/unl/fct/di/novasys/babel/core/GenericProtocol.java @@ -672,7 +672,7 @@ private void mainLoop() { + protoId + " (" + protoName + ")"); } } catch (Exception e) { - logger.error("Protocol {}({}) crashed with unhandled exception: {}", this.getProtoId(), this.getProtoName(), e.toString()); + logger.error("Protocol " + getProtoName() +" ("+ getProtoId() +") crashed with unhandled exception " + e, e); e.printStackTrace(); } }