Skip to content

Wrap error messages with links/pointers to help #3316

Closed

Description

@sipsma

Once Go SDK is merged I will send out a PR that wraps all errors returned by it with a link pointing somewhere for help.

Original idea was to just wrap engine.Start errors with this, but we are planning on refactoring that to not be a callback soon so not worth it.

Activity

  1. self-assigned this
    on Oct 12, 2022
  2. mircubed commented on Oct 12, 2022

    @mircubed
    Contributor

    @shykes @samalba are we ok with pointing the users to our discord channel and telling them to use the help channel for support?

  3. sipsma commented on Oct 12, 2022

    @sipsma
    ContributorAuthor

    Sent out a PR: #3342

    Just need to decide what message to include there

  4. samalba commented on Oct 12, 2022

    @samalba
    Contributor

    @shykes @samalba are we ok with pointing the users to our discord channel and telling them to use the help channel for support?

    Given that the binary will be harder to change than a web page, I would make the link short and easy to remember (eg. https://dagger.io/help with a short message). On this page I would simply give both options (github issues and discord), and we can change it later without having to re-release.

  5. shykes commented on Oct 12, 2022

    @shykes
    Contributor

    @shykes @samalba are we ok with pointing the users to our discord channel and telling them to use the help channel for support?

    Given that the binary will be harder to change than a web page, I would make the link short and easy to remember (eg. https://dagger.io/help with a short message). On this page I would simply give both options (github issues and discord), and we can change it later without having to re-release.

    I agree. The URL should also include an element that is specific to the cloak Go SDK, as opposed to eg. Dagger Europa, NodeJS SDK etc.

    For example https://dagger.io/help/go . That's probably specific enough?

  6. samalba commented on Oct 13, 2022

    @samalba
    Contributor

    For example https://dagger.io/help/go . That's probably specific enough?

    Semantic bike shedding if I may, I'd use an anchor instead (/help#go) - because the content is likely to be the same for all SDKs initially and vary over time.

  7. shykes commented on Oct 13, 2022

    @shykes
    Contributor

    works for me 👍

  8. mircubed commented on Oct 13, 2022

    @mircubed
    Contributor

    Noted - created an issue to create URL #3350

  9. mircubed commented on Oct 19, 2022

    @mircubed
    Contributor

    @aluzzardi can this move to you instead since Erik is OOO? He has a PR open, but it needs some updates.

  10. sipsma commented on Oct 26, 2022

    @sipsma
    ContributorAuthor

    Done here: #3342

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

Metadata

Metadata

Assignees

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