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

Add --recreateStationIdOnError #563

Merged
merged 5 commits into from
Aug 2, 2024
Merged

Conversation

juliangruber
Copy link
Member

For filecoin-station/desktop#1726

I decided to add this flag instead of a new exit code (as suggested in filecoin-station/desktop#1726 (comment)), because with the new exit code Station Desktop needs to know where Station Core stores its internal files, and this coupling isn't necessary.

@juliangruber
Copy link
Member Author

Blocks filecoin-station/desktop#1742

Copy link
Member

@bajtos bajtos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@bajtos bajtos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌🏻

What do you think about improving the following error message to explain to the user that they can re-run Station Core with the new flag to fix the problem?

'Cannot decrypt Station ID file. Did you configure the correct PASSPHRASE?',

@juliangruber
Copy link
Member Author

Great idea!

@juliangruber juliangruber merged commit f9b5cc7 into main Aug 2, 2024
18 checks passed
@juliangruber juliangruber deleted the add/recreate-station-id-on-error branch August 2, 2024 09:26
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.

2 participants