Skip to content

Commit 1591867

Browse files
committed
on style not found: print style name
1 parent 007c83f commit 1591867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/style_service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func GetStyleByName(name string) (model.Style, error) {
6868
return styles[0], nil
6969
}
7070

71-
return model.Style{}, errors.New("no entry with given name found")
71+
return model.Style{}, errors.New("no entry with given name '" + name + "' found")
7272
}
7373

7474
func RemoveStyleById(id primitive.ObjectID) error {

0 commit comments

Comments
 (0)