Skip to content

sandbox.py: Include Dockerfile path in missing dependency error messagesย #3024

@coderabbitai

Description

@coderabbitai

Description

When sandbox.py reports missing files referenced in a Dockerfile, the error message does not indicate which Dockerfile is being processed. This context could be helpful when working with multiple Dockerfiles, build args, or multi-stage builds.

Enhancement Request

Enhance the error message in setup_sandbox() to include the Dockerfile path that was being processed when the missing dependency was detected.

Context

This enhancement was identified during the review of PR #3017, which implemented the initial fix for issue #967.

References

Requested by: @jiridanek

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

๐Ÿ“‹ Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions