Merge pull request #1018 from akka/wip-2872-npe-defaultAddress-patriknw

Throw startup exception from Remoting, see #2872
This commit is contained in:
Patrik Nordwall 2013-01-11 04:09:04 -08:00
commit 586aa38b62

View file

@ -207,8 +207,12 @@ private[remote] class Remoting(_system: ExtendedActorSystem, _provider: RemoteAc
eventPublisher.notifyListeners(RemotingListenEvent(addresses)) eventPublisher.notifyListeners(RemotingListenEvent(addresses))
} catch { } catch {
case e: TimeoutException notifyError("Startup timed out", e) case e: TimeoutException
case NonFatal(e) notifyError("Startup failed", e) notifyError("Startup timed out", e)
throw e
case NonFatal(e)
notifyError("Startup failed", e)
throw e
} }
case Some(_) case Some(_)