smalltalk
/
osmo-st-core
Archived
1
0
Fork 0

misc: Avoid using the CharacterArray>>% as it is not available in Pharo

This commit is contained in:
Holger Hans Peter Freyther 2013-02-20 15:47:22 +01:00
parent a01003265b
commit 5e571e0e69
2 changed files with 3 additions and 2 deletions

View File

@ -61,7 +61,7 @@ Object subclass: Dispatcher [
to make sure we keep on processing items in order."
[[
block on: Error do: [:error |
error logException: 'dispatch failed on "%1".' % {block} area: #core.
error logException: ('dispatch failed on "', block printString, '".') area: #core.
]] ensure: [sem signal]] fork.
sem wait.

View File

@ -155,7 +155,8 @@ bit difficult to do this race free.'>
each := sem critical: [queue removeFirst].
each isCanceled ifFalse: [
[each fire] on: Error do: [:e |
e logException: 'Execution of timer failed: %1' % {e tag} area: #timer.
e logException:
('Execution of timer failed: ', e messageText) area: #timer.
]].
]
]