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

EMPTY_BACKTRACE is not defined #27

Open
greenfork opened this issue Apr 18, 2024 · 0 comments
Open

EMPTY_BACKTRACE is not defined #27

greenfork opened this issue Apr 18, 2024 · 0 comments

Comments

@greenfork
Copy link

Dry::Logger::Formatters::String#format_exception method references the EMPTY_BACKTRACE constant but it is never defined.

# @since 1.0.0
# @api private
def format_exception(value)
[
"#{value.message} (#{value.class})",
format_backtrace(value.backtrace || EMPTY_BACKTRACE)
].join(NEW_LINE)
end

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