Hi, last version of Hangfire throws erros on exceptions, so automatic retry not working.
Example:
[Queue(“default”)]
[DisplayName(“Test->Test1(txt={0},enqueue={1})”)]
public string Test1(string txt, bool enqueue = true)
{
int x = 0;
int y;
try
{
if (txt == “error”)
y = 1 / x;
return txt;
Could you also tell me what version of SQL Server you are using? If you are in rush, downgrade your version to 1.7.14, if not, I will release fix in 1 hour.
Query is completely different there and does not contain throw statement. Please ensure both Hangfire.Core.dll and Hangfire.SqlServer.dll assemblies have 1.7.14 version. I’m also preparing fix right now.
Lukasz, I’ve tested the changes against SQL Server 2008 and everything works now. So version 1.7.17 is released now and already available on NuGet. Thank you so much for reporting this issue!