aboutsummaryrefslogtreecommitdiff
path: root/build/gobind-yggdrasil
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-06-07 10:46:21 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2022-06-07 10:46:21 +0100
commitaafb7bf120d30c37219686a5bb528794b0ab44a2 (patch)
tree4a9b27432152025d45763fd75dff9f5d2212c29f /build/gobind-yggdrasil
parent0d7020fbaf97fb3275697033a7c3c2e6cf6eeacd (diff)
Avoid panicking unnecessarily when shutting down the `gobind` P2P demos (#2520)
Diffstat (limited to 'build/gobind-yggdrasil')
-rw-r--r--build/gobind-yggdrasil/monolith.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/gobind-yggdrasil/monolith.go b/build/gobind-yggdrasil/monolith.go
index 991bc462..99b180c8 100644
--- a/build/gobind-yggdrasil/monolith.go
+++ b/build/gobind-yggdrasil/monolith.go
@@ -170,11 +170,11 @@ func (m *DendriteMonolith) Start() {
go func() {
m.logger.Info("Listening on ", ygg.DerivedServerName())
- m.logger.Fatal(m.httpServer.Serve(ygg))
+ m.logger.Error(m.httpServer.Serve(ygg))
}()
go func() {
logrus.Info("Listening on ", m.listener.Addr())
- logrus.Fatal(http.Serve(m.listener, httpRouter))
+ logrus.Error(http.Serve(m.listener, httpRouter))
}()
go func() {
logrus.Info("Sending wake-up message to known nodes")