Vincent,
On 11 Jul 2013, at 15:06, Vincent Blondeau
<[email protected]> 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