* Martin Vidner
On Thu, Apr 22, 2010 at 11:36:58AM +0200, Klaus Kaempf wrote:
when calling functions known to raise exceptions, its always good practice to enclose calls with begin ... rescue ... end and catch exceptions locally.
Good that you bring it up because I think that you got it absolutely wrong.
Unless you give more specific examples, this only creates more problems by bypassing the generic, well-thought out system-wide recue from.
Yes, you're right. I stand corrected.
CORRECT, unknown exceptions are handled by exception_trap in http://gitorious.org/opensuse/yast-web-client/blobs/master/webclient/app/con...
My problem is rest-service, not web-client. Apparently the exception trap in rest-service is not sufficient. See bnc#598794 where the rest-service errors out (presumably) because of a permission error but this isn't shown in the rest-service logs. And the web-client interpretes this as 503 Service Unavailable without any hints about the real cause. Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org