[Pharo-project] Exception logging
David T. Lewis
lewis at mail.msen.com
Mon Jan 16 16:35:25 EST 2012
On Mon, Jan 16, 2012 at 07:08:49PM +0100, St?phane Ducasse wrote:
> Hi guys
> when I do the following
> [ file := StandardFileStream fileNamed: 'loglog.txt'.
> file nextPutAll: 'Start'.
> [ file nextPutAll: (Compiler evaluate: '55 + 88 poipuiu') asString] on: Error do: [:ex | ex outer errorReportOn: file].
> ] ensure: [file close].
> I get a pop up DNU poipuiu while I would like to get the stack on the stream.
Try "ex signalerContext errorReportOn: file" instead of "ex outer errorReportOn: file".
More information about the Pharo-dev