i was trying to enqueue a function call in hangfire from Core Manager Class but i have found that if function proceeding lines having exceptions hangfire cancel your enqueue ... so please fix that in your Abp coming version
Hangfire.BackgroundJob.Enqueue<IHangFireManager>((t) => t.DoTestFunction(input.value, input.location, partitionKey, rowKey)); //so the coming lines MUST BE ENCLOSED INTO TRY Catch //populate output location object -- if the coming having exception the above line enqueue is cancelled from Hangfire PlaceLocation outputLocation = await _placeLocationManager.GetLocationDetails(input.LocationId.Replace("-", ""));
1 Answer(s)
-
0
Hi,
I haven't understood it well. Can you create an issue on Github (<a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/new">https://github.com/aspnetboilerplate/as ... issues/new</a>) to understand and discuss it.
Thanks.