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

feat: Include file path in TarException: Entry closed at [...] (Docker build) #720

Merged

Conversation

HofmeisterAn
Copy link
Collaborator

@HofmeisterAn HofmeisterAn commented Dec 22, 2022

What does this PR do?

Checks in advance if a file is used by another process or not. SharpZipLib creates the entry, but does not write the bytes if a file is used by another process. Disposing the tar archive object throws a TarException if entries exist without bytes.

Why is it important?

The TarException does not help developers to understand the underlying issue. The PR adds the information about the file used by another process.

Related issues

@HofmeisterAn HofmeisterAn added the enhancement New feature or request label Dec 22, 2022
@netlify
Copy link

netlify bot commented Dec 22, 2022

Deploy Preview for testcontainers-dotnet ready!

Name Link
🔨 Latest commit de03900
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-dotnet/deploys/63a4467100241b0008890dad
😎 Deploy Preview https://deploy-preview-720--testcontainers-dotnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@HofmeisterAn HofmeisterAn merged commit 23b15c7 into develop Dec 22, 2022
@HofmeisterAn HofmeisterAn deleted the feature/improve-docker-image-build-error-message branch December 22, 2022 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant