Skip to content

Commit 6eb27b2

Browse files
committed
Fixed an issue where ReferenceIds wouldn't be created on some error events.
This had to do with the fact that the error plugin was running after the referenceid plugin so no event type was set when the reference id plugin ran.
1 parent 4060404 commit 6eb27b2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Source/Extras/Plugins/ErrorPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Exceptionless.Models;
44

55
namespace Exceptionless.Plugins {
6-
[Priority(30)]
6+
[Priority(20)]
77
public class ErrorPlugin : IEventPlugin {
88
public void Run(EventPluginContext context) {
99
var exception = context.ContextData.GetException();

Source/Shared/Plugins/Default/DuplicateCheckerPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using Exceptionless.Models.Data;
66

77
namespace Exceptionless.Plugins.Default {
8-
[Priority(40)]
8+
[Priority(30)]
99
public class DuplicateCheckerPlugin : IEventPlugin {
1010
private readonly ConcurrentQueue<Tuple<int, DateTime>> _recentlyProcessedErrors = new ConcurrentQueue<Tuple<int, DateTime>>();
1111

Source/Shared/Plugins/Default/ReferenceIdPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using Exceptionless.Models;
33

44
namespace Exceptionless.Plugins.Default {
5-
[Priority(20)]
5+
[Priority(40)]
66
public class ReferenceIdPlugin : IEventPlugin {
77
public void Run(EventPluginContext context) {
88
if (!String.IsNullOrEmpty(context.Event.ReferenceId) || context.Event.Type != Event.KnownTypes.Error)

Source/Shared/Plugins/Default/SimpleErrorPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Exceptionless.Models;
44

55
namespace Exceptionless.Plugins.Default {
6-
[Priority(30)]
6+
[Priority(20)]
77
public class SimpleErrorPlugin : IEventPlugin {
88
public void Run(EventPluginContext context) {
99
var exception = context.ContextData.GetException();

0 commit comments

Comments
 (0)