Merge pull request #1018 from akka/wip-2872-npe-defaultAddress-patriknw
Throw startup exception from Remoting, see #2872
This commit is contained in:
commit
586aa38b62
1 changed files with 6 additions and 2 deletions
|
|
@ -207,8 +207,12 @@ private[remote] class Remoting(_system: ExtendedActorSystem, _provider: RemoteAc
|
|||
eventPublisher.notifyListeners(RemotingListenEvent(addresses))
|
||||
|
||||
} catch {
|
||||
case e: TimeoutException ⇒ notifyError("Startup timed out", e)
|
||||
case NonFatal(e) ⇒ notifyError("Startup failed", e)
|
||||
case e: TimeoutException ⇒
|
||||
notifyError("Startup timed out", e)
|
||||
throw e
|
||||
case NonFatal(e) ⇒
|
||||
notifyError("Startup failed", e)
|
||||
throw e
|
||||
}
|
||||
|
||||
case Some(_) ⇒
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue