1
0
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:
Tyler Stiene 2021-11-20 20:22:14 -05:00
parent 404af876db
commit 7dea05bdb4

View File

@ -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")