Skip to content

Commit

Permalink
Merge pull request #856 from LemonBoy/warn-nl
Browse files Browse the repository at this point in the history
Print a newline after the message when using 'warn'
  • Loading branch information
zoffixznet committed Sep 1, 2016
2 parents a452022 + 631e2f7 commit 128a0bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Exception.pm
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ do {
(my Mu $err := nqp::getstderr),
(my str $msg = nqp::getmessage($ex)),
nqp::printfh($err,nqp::if(nqp::chars($msg),$msg,"Warning")),
nqp::printfh($err, "\n"),
nqp::printfh($err, $backtrace.first-none-setting-line),
nqp::resume($ex)
)
Expand Down

0 comments on commit 128a0bd

Please sign in to comment.