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
Asp.Net Core 2.1 Exceptions on application start #1576
Comments
Looking at the code in the Hangfire Core library it looks like they throw these exceptions in a number of circumstances and catch them, I'd say if you're Hangfire server is running and is completing jobs then these exceptions are to be expected from the framwork code and can be ignored. |
For some reason 'run without debugging' option is not working for me in VS. I don't know if that can be because of that errors. RecurringJob.AddOrUpdate<CacheUserRolesJob>(nameof(CacheUserRolesJob),
job => job.Run(JobCancellationToken.Null), appSettings.BackgroudJobs.CacheUserRolesCron, TimeZoneInfo.Local); Error message & stack trace
System.NotSupportedException x 2
|
That's not even a problem, just ignore those exceptions or tell Visual Studio to not to break on them. Hangfire handles a lot of exceptions, and may generate tons of |
Hi,
When I starting my Asp.Net Core 2.1 application I'm always getting three exceptions but app is still running and looks like everything is working. Why that exceptions are showing up?
I'm using following packages:
Here is my config:
The text was updated successfully, but these errors were encountered: