Better debug
All checks were successful
Unittests / unittests (push) Successful in 9s
Unittests / deploy-dev (push) Successful in 43s

This commit is contained in:
Adam Štrauch 2024-05-26 01:08:44 +02:00
parent 088b6bdcf6
commit 88262a27d8
Signed by: cx
GPG Key ID: 7262DAFE292BCE20

View File

@ -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],