1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-25 21:42:07 +01:00

Improve MessageEventManager's log message

This commit is contained in:
Florian Schmaus 2016-12-10 11:48:20 +01:00
parent 61bdc6f28c
commit a8a148945f

View file

@ -179,7 +179,7 @@ public final class MessageEventManager extends Manager {
method.invoke(listener, new Object[] { from, packetID, this });
}
} catch (Exception e) {
LOGGER.log(Level.SEVERE, "Error while invoking MessageEventRequestListener", e);
LOGGER.log(Level.SEVERE, "Error while invoking MessageEventRequestListener's " + methodName, e);
}
}
@ -199,7 +199,7 @@ public final class MessageEventManager extends Manager {
method.invoke(listener, new Object[] { from, packetID });
}
} catch (Exception e) {
LOGGER.log(Level.SEVERE, "Error while invoking MessageEventNotificationListener", e);
LOGGER.log(Level.SEVERE, "Error while invoking MessageEventNotificationListener's " + methodName, e);
}
}