File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -43,4 +43,4 @@ require (
43
43
maunium.net/go/mauflag v1.0.0 // indirect
44
44
)
45
45
46
- replace github.com/slack-go/slack => github.com/beeper/slackgo v0.0.0-20240913184704-a53c45716dc4
46
+ replace github.com/slack-go/slack => github.com/beeper/slackgo v0.0.0-20240924110412-281dc21eaf99
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
2
2
filippo.io/edwards25519 v1.1.0 /go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4 =
3
3
github.com/DATA-DOG/go-sqlmock v1.5.2 h1:OcvFkGmslmlZibjAjaHm3L//6LiuBgolP7OputlJIzU =
4
4
github.com/DATA-DOG/go-sqlmock v1.5.2 /go.mod h1:88MAG/4G7SMwSE3CeA0ZKzrT5CiOU3OJ+JlNzwDqpNU =
5
- github.com/beeper/slackgo v0.0.0-20240913184704-a53c45716dc4 h1:aKVaX7yZy8bmWyMHZsX6u44Ipti3YlmOjtqRwkxigKQ =
6
- github.com/beeper/slackgo v0.0.0-20240913184704-a53c45716dc4 /go.mod h1:K+6JA6FP9/mILahVr6VH67l83p0sWkayPiDOBhzKWlo =
5
+ github.com/beeper/slackgo v0.0.0-20240924110412-281dc21eaf99 h1:osNCstJaXL/hbsHFHnoM5vKpnMkA6aQwxaXhQE764y8 =
6
+ github.com/beeper/slackgo v0.0.0-20240924110412-281dc21eaf99 /go.mod h1:K+6JA6FP9/mILahVr6VH67l83p0sWkayPiDOBhzKWlo =
7
7
github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs =
8
8
github.com/coreos/go-systemd/v22 v22.5.0 /go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc =
9
9
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
Original file line number Diff line number Diff line change @@ -69,6 +69,11 @@ func (s *SlackClient) HandleSlackEvent(rawEvt any) {
69
69
logEvt = logEvt .RawJSON ("raw_data" , evt .Raw )
70
70
}
71
71
logEvt .Msg ("Unmarshalling error" )
72
+ case * slack.RTMErrorEvent :
73
+ log .Error ().
74
+ Str (zerolog .ErrorFieldName , evt .Error .Msg ).
75
+ Int ("error_code" , evt .Error .Code ).
76
+ Msg ("Got RTM error" )
72
77
case * slack.HelloEvent :
73
78
log .Debug ().Msg ("Received hello event from websocket (now really connected)" )
74
79
s .UserLogin .BridgeState .Send (status.BridgeState {StateEvent : status .StateConnected })
You can’t perform that action at this time.
0 commit comments