Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmoradi committed Mar 29, 2024
1 parent 8b6c7a1 commit 085f663
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ public void Handle(Exception exp, IDictionary<string, object?>? parameters = nul

parameters ??= new Dictionary<string, object?>();

LogError(exp, parameters);
Handle(exp, parameters.ToDictionary(i => i.Key, i => i.Value ?? string.Empty));
}

protected virtual void LogError(Exception exception, IDictionary<string, object?> parameters)
protected virtual void Handle(Exception exception, Dictionary<string, object> parameters)
{
var isDebug = BuildConfiguration.IsDebug();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ namespace Boilerplate.Client.Maui.Services;
/// </summary>
public partial class MauiExceptionHandler : ExceptionHandlerBase
{
protected override void LogError(Exception exception, IDictionary<string, object?> parameters)
protected override void Handle(Exception exception, Dictionary<string, object> parameters)
{
base.LogError(exception, parameters);
base.Handle(exception, parameters);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

public partial class WebExceptionHandler : ExceptionHandlerBase
{
protected override void LogError(Exception exception, IDictionary<string, object?> parameters)
protected override void Handle(Exception exception, Dictionary<string, object> parameters)
{
base.LogError(exception, parameters);
base.Handle(exception, parameters);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ namespace Boilerplate.Client.Windows.Services;

public partial class WindowsExceptionHandler : ExceptionHandlerBase
{
protected override void LogError(Exception exception, IDictionary<string, object?> parameters)
protected override void Handle(Exception exception, Dictionary<string, object> parameters)
{
base.LogError(exception, parameters);
base.Handle(exception, parameters);
}
}

0 comments on commit 085f663

Please sign in to comment.