July 11, 2013
1:42 p.m.
Vincent, On 11 Jul 2013, at 15:06, Vincent Blondeau <vincent.blondeau@polytech-lille.net> wrote:
I use a Zinc Server. So when I do the request, Zinc catch the Exception and send an error as response.
ZnSingleThreadedServer>>#handleRequestProtected: request "Handle request and return a response. If a Smalltalk Error is thrown, return a HTTP Server Error response." ^ [ self authenticateAndDelegateRequest: request ] on: Error do: [ :exception | self debugMode ifTrue: [ exception pass ] ifFalse: [ self logServerError: exception. ZnResponse serverError: exception printString ] ] AFAICT this code catches Error, not Exception, hence it would let Notification through. No ? Sven