[mapserver-dev] Hiding large number of errors in msSetError

Tamas Szekeres szekerest at gmail.com
Mon Jul 21 07:56:19 PDT 2014


Yes, that count could easily be added to errorObj.

Tamas


2014-07-21 16:38 GMT+02:00 Lime, Steve D (MNIT) <Steve.Lime at state.mn.us>:

>  Could we somehow count the number and report that? I would think it
> would useful to know that a particular error was reported n times.
>
>
>
> *From:* mapserver-dev-bounces at lists.osgeo.org [mailto:
> mapserver-dev-bounces at lists.osgeo.org] *On Behalf Of *Tamas Szekeres
> *Sent:* Monday, July 21, 2014 8:44 AM
> *To:* mapserver-dev at lists.osgeo.org
> *Subject:* [mapserver-dev] Hiding large number of errors in msSetError
>
>
>
> Hi Devs,
>
>
>
> There are certain locations in MapServer were a large number of error can
> be raised subsequently, which might be annoying if the error is getting
> displayed to the end user (in a message box for example).
>
>
>
> One example for this issue is in msProjectPoint (mapproject.c line 118)
> which may be raised many times for a polygon or a line string. In the
> meantime I see that the referred line has been commented out in the master
> branch, but I don't think if it would be the reasonable solution for this
> problem, since that error may contain important information for the user.
>
>
>
> How about modifying msSetError to ignore the error if it has already been
> issued previously?
>
>
>
> Thanks,
>
>
>
> Tamas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20140721/80ee3666/attachment-0001.html>


More information about the mapserver-dev mailing list