From 3201c386f8385175dc99e360bd218c7b82650b49 Mon Sep 17 00:00:00 2001 From: Martin Lowe <martin.lowe@eclipse-foundation.org> Date: Thu, 21 Apr 2022 11:46:06 -0400 Subject: [PATCH] Add logging for envvar value if bad format --- src/main/rb/eca.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/rb/eca.rb b/src/main/rb/eca.rb index d04f3cb6..eecd2b5e 100644 --- a/src/main/rb/eca.rb +++ b/src/main/rb/eca.rb @@ -59,7 +59,7 @@ elsif (gl_repo =~ /^wiki-/) then puts "Commit is associated with a wiki, and does not need to be validated. Skipping." exit 0 elsif (gl_repo !~ /^project-/) then - puts "GL_REPOSITORY envvar is improperly set does not match expected format, cannot validate" + puts "GL_REPOSITORY envvar is improperly set does not match expected format (#{gl_repo}), cannot validate" exit 1 end ## Get the project ID from env var, extracting from pattern 'project-###' -- GitLab