#217 ✓closed
Ben Hood

REST API should log all errors that occur in downstream code

Reported by Ben Hood | 2011-05-20 16:39:31 UTC

Currently if a call to REST API blows up, the error will be propagated straight out as a 500 error with a single entry in the diffa log - hence the REST resource should catch all errors and log them appropriately on the server side. One potential way to achieve this is to use the exception mapping facility in Jersey. Also, there is a hidden bug in the DifferencesResource that catches a NoSuchElementException, which arises from an underlying session not being available.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A Real Time Differencing Tool.

Shared Ticket Bins

People watching this ticket

Referenced by

Pages