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

Show more information in the retry page #962

Merged
merged 3 commits into from
May 30, 2013
Merged

Conversation

rafaelss
Copy link
Contributor

Middlewares may add relevant information needed by the job and I think it's really useful show them in the retry page.

I'm not really sure about the label name (Extras), so let me know if you have a better one.

@coveralls
Copy link

Coverage Status

Coverage increased (+0%) when pulling f162454 on rafaelss:master into 45db83e on mperham:master.

@mperham
Copy link
Collaborator

mperham commented May 30, 2013

I love the idea.

@@ -107,6 +107,19 @@ def display_args(args, count=100)
args.map { |arg| a = arg.inspect; a.size > count ? "#{a[0..count]}..." : a }.join(", ")
end

def display_extra_items(retry_job)
regular_keys = [
Copy link
Collaborator

Choose a reason for hiding this comment

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

Pull this out into a constant.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0%) when pulling 94d1320 on rafaelss:master into 45db83e on mperham:master.

mperham added a commit that referenced this pull request May 30, 2013
Show more information in the retry page
@mperham mperham merged commit 20600da into sidekiq:master May 30, 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