Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print full dockerfile path instead of context on error #796

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

siteshwar
Copy link

... if the dockerfile is not found.

... if the dockerfile is not found.

Signed-off-by: Siteshwar Vashisht <[email protected]>
@siteshwar siteshwar force-pushed the better-error-message branch from 70d091a to 3c3829d Compare November 2, 2023 09:41
@siteshwar
Copy link
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.

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.

2 participants