Better debug
This commit is contained in:
parent
088b6bdcf6
commit
88262a27d8
@ -565,7 +565,7 @@ func (c *Container) GetPrimaryTech() (apps.AppTech, error) {
|
||||
rawTech := parts[3]
|
||||
techParts := strings.Split(rawTech, "-")
|
||||
if len(techParts) != 2 {
|
||||
return tech, errors.New("wrong number of tech parts")
|
||||
return tech, errors.New("wrong number of tech parts (" + rawTech + ")")
|
||||
}
|
||||
return apps.AppTech{
|
||||
Name: techParts[0],
|
||||
|
Loading…
Reference in New Issue
Block a user