Skip to content

Commit

Permalink
changed based on pr suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
hamars01 committed Nov 6, 2024
1 parent 4277cd7 commit c13aff1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ Legend:

### Errors in Output

If there is an error checking an image the tool will display the 🚫 symbol and give a short description of the error at the end of the line. The current common errors are:
If there is an error whilst checking an image, the tool will display the 🚫 symbol and give a short description of the error at the end of the line. The current common errors are:

- Authentication error. This usually means that you are missing your docker credentials or that you are denied access to the registry.
- Communication error. Could mean that the URL host doesn't exist or that its down.
- Image not found.
- Unknown error, run in debug mode for more info -d
- Unknown error, run in debug mode using the flag `-d` for more info

## Private Registry Authentication

Expand Down
2 changes: 1 addition & 1 deletion changes/19.feature
Original file line number Diff line number Diff line change
@@ -1 +1 @@
added better erorr messages for common cases, and added a new -l flag for logging into a log file.
Added better error messages for common cases, and added a new `-l` flag for logging into a log file.
2 changes: 1 addition & 1 deletion internal/images/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func GetFriendlyErrorMessage(err error) string {
case containsAnyOf(errorMessage, []string{"no such host"}):
return "|| communication error, check your url host."
default:
return "|| An unknown error occurred. Please run with debug -d for more details."
return "|| An unknown error occurred. Please run in debug mode using the flag '-d' for more details."
}
}

Expand Down

0 comments on commit c13aff1

Please sign in to comment.