patch-1 - adding more info to the error message
Signed-off-by: Rober Morales-Chaparro <rober.morales@rstor.io> Signed-off-by: Rober Morales-Chaparro <rober.morales@ebury.com>master
							parent
							
								
									579107cf2e
								
							
						
					
					
						commit
						4f173262e4
					
				|  | @ -206,7 +206,7 @@ func (p *Parser) overwriteStruct(v reflect.Value, fullpath string, path []string | |||
| 		fieldVal := reflect.New(sf.Type) | ||||
| 		err := yaml.Unmarshal([]byte(payload), fieldVal.Interface()) | ||||
| 		if err != nil { | ||||
| 			logrus.Warnf("Error parsing environment variable %s", fullpath) | ||||
| 			logrus.Warnf("Error parsing environment variable %s: %s", fullpath, err) | ||||
| 			return err | ||||
| 		} | ||||
| 		field.Set(reflect.Indirect(fieldVal)) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue