Skip to content

Commit a87e667

Browse files
committed
FIX: redundant message when logging an error value
resolves: Oldes/Rebol-issues#2578
1 parent a1b79b7 commit a87e667

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mezz/sys-base.reb

+2-2
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,12 @@ log: func [
236236
/local level
237237
][
238238
if error [
239-
msg: form either block? msg [reduce msg][msg]
239+
msg: trim/head/tail form either block? msg [reduce msg][msg]
240240
foreach line split-lines msg [
241241
print ajoin [
242242
" ^[[35m[" id "] ^[[1m"
243243
either line/1 = #"*" []["** Error: "]
244-
copy/part line 100
244+
copy/part line 200 ;@@ I am not sure with this line length limit
245245
"^[[0m"
246246
]
247247
]

0 commit comments

Comments
 (0)