grass icon indicating copy to clipboard operation
grass copied to clipboard

v.info: Add vector name to no db connection message

Open wenzeslaus opened this issue 3 years ago • 2 comments
trafficstars

The error messegage about missing database connection for a given layer does not include vector name which may not be clear when scripting and an undelying function calls v.info.

wenzeslaus avatar Jun 14 '22 18:06 wenzeslaus

Is anything still missing here (as it is a draft PR)?

neteler avatar Aug 28 '22 09:08 neteler

The code does not compile, but the conceptual issue here is that similar message is at many other places, but there it is not possible to get vector map name so easily.

wenzeslaus avatar Aug 28 '22 11:08 wenzeslaus

The code issue is fixed now, but I'm not sure if to introduce this message when we have similar messages but without that additional info. Maybe better more info here is better than consistency with less info.

wenzeslaus avatar Feb 10 '23 19:02 wenzeslaus