From d3d8881d3e2351a6a196be29c16cd7aaaa4e63a0 Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 5 Sep 2019 17:28:57 +0200 Subject: [PATCH] print unexpected exceptions --- swift/IceStorm/clock/Sources/Publisher/main.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/swift/IceStorm/clock/Sources/Publisher/main.swift b/swift/IceStorm/clock/Sources/Publisher/main.swift index 0fb4bdc6c..3e38975ee 100644 --- a/swift/IceStorm/clock/Sources/Publisher/main.swift +++ b/swift/IceStorm/clock/Sources/Publisher/main.swift @@ -125,6 +125,7 @@ func run() -> Int32 { exit(0) } catch { t.suspend() + print("Error: \(error)\n") communicator.destroy() exit(1) }