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

Plack::Middleware::LogDispatch now stringifies objects. #427

Merged
merged 1 commit into from
Sep 5, 2013
Merged

Plack::Middleware::LogDispatch now stringifies objects. #427

merged 1 commit into from
Sep 5, 2013

Conversation

oalders
Copy link
Contributor

@oalders oalders commented Sep 5, 2013

This is something I poached from @autarch. If you're passing (for
instance) a Throwable exception to Log::Dispatch it will not stringify
the exception for you. This patch handles this case and also adds a
test to make sure that code refs are not stringified, since
Log::Dispatch does accept those as valid messages.

This is something I poached from @autarch.  If you're passing (for
instance) a Throwable exception to Log::Dispatch it will *not* stringify
the exception for you.  This patch handles this case and also adds a
test to make sure that code refs are not stringified, since
Log::Dispatch does accept those as valid messages.
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 14cfc13 on oalders:master into 53ff7dc on plack:master.

miyagawa added a commit that referenced this pull request Sep 5, 2013
Plack::Middleware::LogDispatch now stringifies objects.
@miyagawa miyagawa merged commit 365d440 into plack:master Sep 5, 2013
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

Successfully merging this pull request may close these issues.

None yet

3 participants