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

Use HTTP::Status description for logging #1362

Merged
merged 2 commits into from
Dec 15, 2020

Conversation

matthewmcgarvey
Copy link
Member

Purpose

Fixes #1306

Description

We were logging out an enum, but that enum has a description method that gives us a more human readable message.

Checklist

  • - An issue already exists detailing the issue/or feature request that this PR fixes
  • - All specs are formatted with crystal tool format spec src
  • - Inline documentation has been added and/or updated
  • - Lucky builds on docker with ./script/setup
  • - All builds and specs pass on docker with ./script/test

It was needed when we were passing in an enum, but now it won't be doing anything useful.
Copy link
Member

@jwoertink jwoertink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@jwoertink jwoertink merged commit 3a0bab4 into luckyframework:master Dec 15, 2020
@matthewmcgarvey matthewmcgarvey deleted the fix-status-logging branch December 15, 2020 03:13
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.

Text for HTTP error 418 is ungrammatical
2 participants