[MOBY-dev] vote on the RFC discussing Error Reporting
Pieter Neerincx
Pieter.Neerincx at wur.nl
Thu Nov 3 11:56:08 UTC 2005
On 27Oct2005, at 24:18, Edward Kawas wrote:
> Hi,
>
> I am calling a vote on the RFC that discusses error
> reporting.
>
> Please refer to the following link:
> http://bugzilla.open-bio.org/show_bug.cgi?id=1863
I'm in favor of RFC 1863. So I vote yes again. I think it's crucial
for the speed of BioMOBY evolution to have have at least some error
reporting in place. In the current situation where empty objects are
returned if something goes wrong, a user is completely in the dark.
Debugging such cases is extremely painful. Currently most users are
developers as well so we can look in the log files of the machines
where our services are running, but if we want BioMOBY to become more
popular with 'normal' users we need some error reporting that makes
sense a.s.a.p.
I found two small inconsistencies though:
Page 4 mentions refqueryID, refQuery and refQueryID attributes. Do I
get it right that these are typo's and all the same atribute...?
Furtermore I think this:
"refElement - refers to the articleName of the offending input
Simple or Collection"
will be a problem. If it's referring to the articleName it should be
called refArticleName. The problem is that articleNames are optional.
There is no guarantee they will be present. Furthermore they not need
to be unique. In case there are multiple elements of the same type,
the articleName attribute can be used to differentiate between them.
Hence the combination of element and articleName can be used by a
service to find a specific element. If you want to link an execption
to a specific element of the input you will need both a refElement
and a refArticleName...
So instead of:
<mobyException refElement="input1"
refQueryID="1"
severity ="error">
<exceptionCode>600</exceptionCode>
<exceptionMessage>Unable to execute the service</exceptionMessage>
</mobyException>
I propose something like this:
<mobyException refElement="String"
refArticleName="input1"
refQueryID="1"
severity ="error">
<exceptionCode>600</exceptionCode>
<exceptionMessage>Unable to execute the service</exceptionMessage>
</mobyException>
Just my 2c,
Pieter
>
> Thanks.
>
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at biomoby.org
> http://www.biomoby.org/mailman/listinfo/moby-dev
Wageningen University and Research centre (WUR)
Laboratory of Bioinformatics
Transitorium (building 312) room 1038
Dreijenlaan 3
6703 HA Wageningen
phone: 0317-484 706
fax: 0317-483 584
mobile: 06-143 66 783
pieter.neerincx at wur.nl
More information about the MOBY-dev
mailing list