-
Notifications
You must be signed in to change notification settings - Fork 192
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
Error when a channel is empty #105
Comments
What's the exception that is thrown? |
I ran into the same issue. It happens if you are using https://github.com/zach-snell/slack-export , but don't export the public channels. The exception is
|
This is a problem when no public channels are requested in the export. This can be handled by adding other messages types possible from https://github.com/zach-snell/slack-export e.g. private groups, DMS etc.. A suggested start for bug correction is below ..packages/slackviewer/app.py
|
Release 1.0.1 published |
We are on on a free subscription and we've long forgotten whether we used the default Random and General channels. They are empty after using https://github.com/zach-snell/slack-export and this causes an exception to the lines
in app.py. The workaround I did is to wrap this in an exception and return the first DM instead.
The text was updated successfully, but these errors were encountered: