Skip to content

Print full dockerfile path instead of context on error#796

Closed
siteshwar wants to merge 1 commit intocontainers:mainfrom
siteshwar:better-error-message
Closed

Print full dockerfile path instead of context on error#796
siteshwar wants to merge 1 commit intocontainers:mainfrom
siteshwar:better-error-message

Conversation

@siteshwar
Copy link
Contributor

... if the dockerfile is not found.

... if the dockerfile is not found.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
@siteshwar siteshwar force-pushed the better-error-message branch from 70d091a to 3c3829d Compare November 2, 2023 09:41
@siteshwar
Copy link
Contributor Author

Current error message is confusing and does not provide the exact path where the dockerfile is being searched. This change should help in debugging such cases.

Copy link
Collaborator

@p12tic p12tic left a comment

Choose a reason for hiding this comment

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

Thanks for the PR.

Could you please add examples of previous error message and current error message to the commit message? Also, the first line of the commit message needs to be 72 characters or less, otherwise it's hard wrapped by tools and people see broken sentence.

Also, please rebase on top of latest main branch.

@mokibit
Copy link
Collaborator

mokibit commented May 26, 2025

Addressed in #1222.

@p12tic
Copy link
Collaborator

p12tic commented May 28, 2025

Merged via #1222.

@p12tic p12tic closed this May 28, 2025
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.

3 participants