coder / coder/code-marketplace

Confusing error when Artifactory URL returns a 404

Open
#13 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Go
Stars
370
Forks
46
PR merge metrics
No merged PRs in 30d

Description

You get "file does not exist" which is confusing if you are doing something like adding an extension because it makes it sound like the vsix you are uploading does not exist.

The error should prepend the name of the thing that does not exist so something like "https://domain.com does not exist" or it should be entirely different: "https://domain.com returned a 404".

I believe the source of the problem is that we convert 404s into file not found errors to make Artifactory storage behave more like local storage but we should double-check what happens with other codes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.