[ https://forge.continuent.org/jira/browse/HEDERA-10?page=all ] Damian Arregui closed HEDERA-10: --------------------------------
> Logging runtime exception in PushPullAdapter > -------------------------------------------- > > Key: HEDERA-10 > URL: https://forge.continuent.org/jira/browse/HEDERA-10 > Project: Hedera > Type: Improvement > Versions: Hedera 1.5.1, Hedera 1.5 > Reporter: Wolfgang Koppenberger > Assignee: Damian Arregui > Fix For: Hedera 1.5.1 > > > PushPullAdapter: > public void run() > { > Serializable msg; > while (!isKilled) > { > try > { > msg = channel.receive(); > listener.receive(msg); > } > catch (Exception e) > { > logger.debug("PullPushAdapter: Error while reading from channel", e); > } > } > } > in case of an runtime error (eg. NotSerializableException) there is only a > debug statement on errors! > Therefore I would propose to have 2 catch blocks, one for runtime exceptions > (like ClassNotFound) that would be displayed with an ERROR output and other > errors would remain at DEBUG level. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://forge.continuent.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ Hedera mailing list [email protected] https://forge.continuent.org/mailman/listinfo/hedera
