Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a redundant message when logging an error value #2578

Closed
Oldes opened this issue Nov 13, 2023 · 0 comments
Closed

There is a redundant message when logging an error value #2578

Oldes opened this issue Nov 13, 2023 · 0 comments

Comments

@Oldes
Copy link
Owner

Oldes commented Nov 13, 2023

Currently there is:

>> sys/log/error 'REBOL "Bla bla..."
 [REBOL] ** Error: Bla bla...
>> sys/log/error 'REBOL try [1 / 0]
 [REBOL] ** Error:
 [REBOL] ** Math error: attempt to divide by zero
 [REBOL] ** Where: / try
 [REBOL] ** Near: / 0
>>

In the second call above (when the argument to the log function is already an error) there should not be the line:

 [REBOL] ** Error:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant