Skip to content

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

Merged
miyagawa merged 1 commit intoplack:masterfrom
oalders:master
Sep 5, 2013
Merged

Plack::Middleware::LogDispatch now stringifies objects.#427
miyagawa merged 1 commit intoplack:masterfrom
oalders:master

Conversation

@oalders
Copy link
Copy Markdown
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
Copy Markdown

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.

3 participants