[Geoserver-users] GeoServer CQL Filter access to Oracle -- returned ORA-01722 invalid number

andrea aime wrote:

Unfortunately many exceptions are not classified in a way that lets the code know if the issue was a user problem or
an internal error, so all we can do to hide the details without significant refactoring is to tell the user "something went wrong" ...
which of course would not be that useful.

Another extreme is Mapserver which can send to all users messages like this where only the password is hidden:

<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?> <!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd&quot;&gt;

msDrawMap(): Image handling error. Failed to draw layer named 'landuse_layer4'.
msPostGISLayerOpen(): Query error. Database connection failed (FATAL: database "osm" does not exist
) with connect string 'host=localhost dbname=osm user=www-data password=******** port=5432' Is the database running? Is it allowing connections? Does the specified user exist? Is the password valid? Is the database on the standard port?