Skip to content

Commit

Permalink
forward the schema serialization error message (#85)
Browse files Browse the repository at this point in the history
fixed error print format
  • Loading branch information
tsebastiani authored May 24, 2023
1 parent 37957a0 commit 031af69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/step/plugin/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
func New(logger log.Logger, deployerRegistry registry.Registry, localDeployerConfig any) (step.Provider, error) {
unserializedLocalDeployerConfig, err := deployerRegistry.Schema().Unserialize(localDeployerConfig)
if err != nil {
return nil, fmt.Errorf("failed to load local deployer configuration, please check your Arcaflow configuration file")
return nil, fmt.Errorf("failed to load local deployer configuration, please check your Arcaflow configuration file (%w)", err)
}
localDeployer, err := deployerRegistry.Create(unserializedLocalDeployerConfig, logger)
if err != nil {
Expand Down

0 comments on commit 031af69

Please sign in to comment.