NLeSC / 3D_geospatial_risk_management

2 stars 0 forks source link

Throw mal exceptions... #43

Closed romulogoncalves closed 8 years ago

romulogoncalves commented 8 years ago

throw(MAL, name, "wkb2geos failed");

It is not printing the function name: ERROR = !wkb2geos failed

If I do throw(MAL, name, "%s: wkb2geos failed", name); Then it prints: ERROR = !: wkb2geos failed

This means name is set properly, but not used properly.

romulogoncalves commented 8 years ago

It is not a bug. The identification of the mal operator should not be passed to the SQL interface and thus be exposed to the user.

To know which operator was just do a break on createException.