Skip to content
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

Offer to authenticate if there are no workspaces #309

Merged
merged 2 commits into from
Jul 26, 2024
Merged

Offer to authenticate if there are no workspaces #309

merged 2 commits into from
Jul 26, 2024

Conversation

rusq
Copy link
Owner

@rusq rusq commented Jul 26, 2024

When running slackdump for the first time, i.e.

./slackdump archive

without prior authentication, it would output the cryptic error message:

$ slackdump archive
archive: 2024/07/27 07:24:52 Error 004 (Authentication Error): auth error: workspace does not exist: ""
Error 004 (Authentication Error): auth error: workspace does not exist: ""
exit status 4

This PR introduces the change that handles this case correctly, offering to authenticate in a new workspace.

@rusq rusq merged commit eb05e55 into master Jul 26, 2024
3 checks passed
@rusq rusq deleted the i273-auth branch July 26, 2024 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant