Skip to content

Feature Request: Ability to hook install failures and provide a troubleshooting message #80

Open

Description

@dgollahon-plaid

If a user is not authenticated you get a relatively verbose/ugly curl warning. I would like to be able to tell users at my company how to restore authentication to the binary assets in a message "Hey, looks like you are not able to authenticate with ... to fix this, you probably want to ... -- see [some docs]". Is there any way to hook or customize this now?

Also, thanks for a great tool!

Activity

  1. bigfootjon commented on Sep 12, 2025

    @bigfootjon
    Contributor

    There isn't a feature for this, but I can definitely see the need. Would you be interested in working up the necessary changes in a Pull Request?

  2. dgollahon-plaid commented on Sep 12, 2025

    @dgollahon-plaid
    Author

    @bigfootjon potentially -- any pointers on where in the code I would do this or requirements for how this should work? I can hack something out but I don't want to make something that doesn't make sense and start over.

  3. bigfootjon commented on Oct 15, 2025

    @bigfootjon
    Contributor

    Really sorry it took me so long to reply, I missed the notification.

    I think adding a new key here to say something like "custom_error_message" to be an optional string would be fine: https://github.com/facebook/dotslash/blob/main/src/config.rs#L38

    Then update docs as appropriate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions