We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0581f48 commit 3ff248dCopy full SHA for 3ff248d
IntegrationEngine/MessageQueue/RabbitMqListener.cs
@@ -47,8 +47,15 @@ public void Listen()
47
var type = IntegrationJobTypes.FirstOrDefault(t => t.FullName.Equals(message));
48
var integrationJob = Activator.CreateInstance(type) as IIntegrationJob;
49
integrationJob = AutoWireJob(integrationJob, type);
50
- if (integrationJob != null)
51
- integrationJob.Run();
+ try
+ {
52
+ if (integrationJob != null)
53
+ integrationJob.Run();
54
+ }
55
+ catch (Exception exception)
56
57
+ Log.Error(x => x("Integration job did not run successfully ({0})}", message), exception);
58
59
}
60
61
0 commit comments