As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Unverified Commit 42482080 authored by Michael's avatar Michael Committed by GitLab
Browse files

Improve logging on errors

parent c2d73ce0
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -42,7 +42,7 @@ func run() int {
config, err := config.NewFromDirExternal(executable.RootDir)
if err != nil {
_, _ = fmt.Fprintln(readWriter.ErrOut, "Failed to read config, exiting")
_, _ = fmt.Fprintln(readWriter.ErrOut, "Failed to read config, exiting:", err)
return 1
}
Loading
Loading
Loading
Loading
@@ -45,7 +45,7 @@ func main() {
config, err := config.NewFromDirExternal(executable.RootDir)
if err != nil {
fmt.Fprintln(readWriter.ErrOut, "Failed to read config, exiting")
fmt.Fprintln(readWriter.ErrOut, "Failed to read config, exiting:", err)
os.Exit(1)
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment