From 37ac145392e47d91ebf35ed0a76f0cd7908190a3 Mon Sep 17 00:00:00 2001 From: Sambhav Kothari Date: Tue, 6 Sep 2022 10:27:08 +0100 Subject: [PATCH] Update application.go Co-authored-by: David O'Sullivan <31728678+pivotal-david-osullivan@users.noreply.github.com> --- application.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application.go b/application.go index 2852648..37d7310 100644 --- a/application.go +++ b/application.go @@ -137,7 +137,7 @@ func (a Application) Contribute(layer libcnb.Layer) (libcnb.Layer, error) { includeDirs, iset := a.ArtifactResolver.ConfigurationResolver.Resolve("BP_INCLUDE_FILES") if includeDirs != "" { if err := logic.Include(a.ApplicationPath, includeDirs); err != nil { - return libcnb.Layer{}, err + return libcnb.Layer{}, fmt.Errorf("unable to perform source-removal 'include' \n%w", err) } } excludeDirs, eset := a.ArtifactResolver.ConfigurationResolver.Resolve("BP_EXCLUDE_FILES")