Reduce exception guard 82/101382/7
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 31 May 2022 19:04:53 +0000 (21:04 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 28 Jul 2022 23:39:07 +0000 (23:39 +0000)
commit29e06cbd92b039d501a004cabcf0eb19f63c427a
tree8678d11925936b29489fb6fae2ca286c73e44ad2
parent77cedd1e445f7efc325c185aca8c41fe3b6d606b
Reduce exception guard

We really should not be catching Exceptions here and once connect()
returns we should be completely asynchronous. Reduce the amount of
code protected by the try/catch block.

Change-Id: I673cc4f0a52cefd2659a5db5a96417e00fd89422
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/NetconfSessionPromise.java