diff --git a/service/debugger/locations.go b/service/debugger/locations.go index a8717170..d4ba98f5 100644 --- a/service/debugger/locations.go +++ b/service/debugger/locations.go @@ -280,7 +280,7 @@ func (loc *NormalLocationSpec) Find(d *Debugger, locStr string) ([]api.Location, case 0: return nil, fmt.Errorf("Location \"%s\" not found", locStr) default: - return nil, fmt.Errorf("Location \"%s\" ambiguous: %s…\n", locStr, strings.Join(candidates, ", ")) + return nil, fmt.Errorf("Location \"%s\" ambiguous: %s…", locStr, strings.Join(candidates, ", ")) } }