Hi Esteban,

> On 26 Jul 2021, at 02:47, Esteban Maringolo <emaring...@gmail.com> wrote:
> 
> Is there a way to have a "stack dump" response in Zinc?
> 
> #debugMode is good for development, but I'm having an "Internal Error:
> 4", that I don't know how to trace.
> 
> *   Trying 167.71.182.110...
> * TCP_NODELAY set
> * Connected to fore.base.golf (167.71.182.110) port 8090 (#0)
>> GET /web HTTP/1.1
>> Host: x.y.z:8090
>> User-Agent: curl/7.58.0
>> Accept: */*
>> 
> < HTTP/1.1 500 Internal Server Error
> < Content-Length: 512
> < Content-Type: text/plain;charset=utf-8
> < Server: Zinc HTTP Components 1.0 (Pharo/8.0)
> < Date: Mon, 26 Jul 2021 00:45:39 GMT
> <
> * Connection #0 to host x.y.z left intact
> Internal Error: 4
> 
> Regards!
> 
> Esteban A. Maringolo

Searching the source code of my image, I only find 'Internal Error' in 
WAExceptionHandler/WAResponseGenerator, not in Zn code. Furthermore, printing 4 
there would be weird (as it is the exception message).

Is this a plain Zn response or a Seaside response ?

I know that Seaside has more logging options.

Zn does not have an exception logging mechanism that dumps a stack trace, only 
the debugMode for interactive development. I see you used curl, can't you fire 
the request against your dev image then ?

Sven

Reply via email to