-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic when calling AckErrorEvent.Error() #124
Comments
We started seeing this same issue this morning. Concurrently, Slack has been having major platform outage issues all day. It appears that the issue is related to the JSON Slack is sending back for an ACK. It's @falzm After checking our vendored version of the library against what's up to date in the repo, we saw that the newer code is smarter about this. We're now experimenting with updating our version of nlopes/slack. |
Any updates on this issue? :( |
The latest code in the repo as of the time of my comment had proper protections for the issue we were experiencing. Once we updated our vendored library (it was almost a year old) the problem was solved. |
@mkarlesky thank you for reporting back. I'm going to close this issue as fixed then. |
Hi
The code panics when trying to calling the
Error()
method on aAckErrorEvent
instance (looks like the underlying ErrorObjerror
is nil):Maybe it would be better for the
Error()
method to return directly theerror
value instead of a string representation, or at least check that the ErrorObjerror
is non-nil before calling theError()
method on it?The text was updated successfully, but these errors were encountered: