# HG changeset patch # User Tom Gottfried # Date 1559316288 -7200 # Node ID c03224d33e78df14f8fd1cfc6429f1e53809ce99 # Parent 453f15ba803096079c83e0c0b4cafeb770dd2129 Improve error message diff -r 453f15ba8030 -r c03224d33e78 pkg/imports/bn.go --- a/pkg/imports/bn.go Fri May 31 16:58:42 2019 +0200 +++ b/pkg/imports/bn.go Fri May 31 17:24:48 2019 +0200 @@ -168,7 +168,8 @@ } if resp.Export_bn_by_isrsResult == nil { - return nil, errors.New("no Bottlenecks found") + return nil, errors.New( + "The requested service returned no bottlenecks") } return resp.Export_bn_by_isrsResult.BottleNeckType, nil