Skip to content

Commit

Permalink
Use slack package for import
Browse files Browse the repository at this point in the history
  • Loading branch information
photown committed Jun 1, 2022
1 parent ae04128 commit d3e1f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion socketmode/socket_mode_managed_conn.go
Expand Up @@ -212,7 +212,7 @@ func (smc *Client) connect(ctx context.Context, connectionCount int, additionalP
}

switch actual := err.(type) {
case StatusCodeError:
case slack.StatusCodeError:
if actual.Code == http.StatusNotFound {
smc.Debugf("invalid auth when connecting with Socket Mode: %s", err)
smc.Events <- newEvent(EventTypeInvalidAuth, &slack.InvalidAuthEvent{})
Expand Down

0 comments on commit d3e1f35

Please sign in to comment.