Skip to content

Commit

Permalink
connector/client: don't call disconnect on pipe error
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <[email protected]>
  • Loading branch information
sumnerevans committed Dec 9, 2024
1 parent c8590ca commit ee0c2e4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/connector/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,6 @@ func (t *TelegramClient) onConnectionStateChange(reason string) func() {
Error: "pipe-error",
Message: humanise.Error(err),
})
t.Disconnect()
} else {
t.sendBadCredentialsOrUnknownError(err)
}
Expand Down

0 comments on commit ee0c2e4

Please sign in to comment.