service/debugger: Remove newline at end of error
This commit is contained in:
parent
12bd0472d2
commit
e68e760a9f
@ -280,7 +280,7 @@ func (loc *NormalLocationSpec) Find(d *Debugger, locStr string) ([]api.Location,
|
|||||||
case 0:
|
case 0:
|
||||||
return nil, fmt.Errorf("Location \"%s\" not found", locStr)
|
return nil, fmt.Errorf("Location \"%s\" not found", locStr)
|
||||||
default:
|
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, ", "))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user