Open Closed

Hangfire always succeeded Even with Throw Exception. #10497

jur.porras created


Even I throw an exception the hangfire always return succeeded.

sample code:


catch (Exception e)
    throw new Exception($"Couldn't optimize route. Please check setup. Error: {e.Message}");

Please advise.

1 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @jur.porras

    Could you share your entire Job class ? Is the return type of the executed method void ?