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 missing method and its type in the Dashboard #157

Closed
odinserj opened this issue Jul 9, 2014 · 3 comments
Closed

Show missing method and its type in the Dashboard #157

odinserj opened this issue Jul 9, 2014 · 3 comments

Comments

@odinserj
Copy link
Member

odinserj commented Jul 9, 2014

Currently Hangfire shows only unmeaningful Can not find the target method error message in case when the method referred by a job was removed from the code base. It is hard to debug these issues, so the message should be replaced with a more meaningful one:

Can not find the Namespace.Type.MethodName(Type1, Type2) method..

@odinserj odinserj added this to the 1.1.0 milestone Jul 9, 2014
@odinserj odinserj modified the milestones: 1.2.0, 1.1.0 Sep 2, 2014
@odinserj odinserj modified the milestones: 1.2.0, 1.2.1 Nov 17, 2014
@youngcm2
Copy link

I am seeing in that in my dashboard. I enqueue 2 jobs after we call start on the hangfire server. The jobs are being called, the dashboard is showing "Can not find the target method."

Here is the call order.

hangfireJobServer.Start ();

jobClient.Enqueue<IHangfireJobLoader> (loader => loader.SetupJobs ());
jobClient.Enqueue<IScheduleReportJobLoader> (loader => loader.SetupJobs ());

@odinserj odinserj modified the milestone: 1.2.1 Nov 22, 2014
@odinserj odinserj added this to the 1.5.0 milestone Jun 18, 2015
@odinserj odinserj removed this from the 1.5.0 milestone Oct 14, 2015
@WdeBruin
Copy link

I experienced this as well. First time thinking about contributing, is this still considered something to improve?

@ChristopheHvd
Copy link

yes, it is. At least, I would find it useful :)

@odinserj odinserj added this to the Hangfire 1.7.12 milestone Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

4 participants