clarencen/lshift — Issue #234: REST API should log all errors that occur in downstream code
Author: clarencen
Created: 2011-11-14 22:42:12+00:00
State: open

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.