mirror of
https://github.com/stryan/mumble-discord-bridge.git
synced 2024-11-22 21:35:44 -05:00
remove recover statement from constant bridge loop
This commit is contained in:
parent
404af876db
commit
7dea05bdb4
@ -207,11 +207,6 @@ func main() {
|
||||
Bridge.Mode = bridge.BridgeModeConstant
|
||||
Bridge.DiscordChannelID = Bridge.BridgeConfig.CID
|
||||
go func() {
|
||||
defer func() {
|
||||
if r := recover(); r != nil {
|
||||
fmt.Println("Bridge paniced", r)
|
||||
}
|
||||
}()
|
||||
for {
|
||||
Bridge.StartBridge()
|
||||
log.Println("Bridge died")
|
||||
|
Loading…
Reference in New Issue
Block a user