mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 20:33:40 +01:00
add exception handling for some event delegates
This commit is contained in:
parent
805133c9fe
commit
652b357341
8 changed files with 166 additions and 100 deletions
|
|
@ -288,7 +288,7 @@ namespace Dalamud.Game.Network.Internal
|
|||
Service<ChatGui>.GetNullable()?.Print($"Duty pop: {cfcName}");
|
||||
}
|
||||
|
||||
this.CfPop?.Invoke(this, cfCondition);
|
||||
this.CfPop?.Raise(this, cfCondition);
|
||||
}).ContinueWith((task) => Log.Error(task.Exception, "CfPop.Invoke failed."), TaskContinuationOptions.OnlyOnFaulted);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue