Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .husky/pre-commit
100644 → 100755
Empty file.
5 changes: 3 additions & 2 deletions Utilities/Extensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.IO.Compression;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using Serilog;
Expand Down Expand Up @@ -70,7 +71,7 @@ public Task<string> DecompressAsync(CancellationToken cancellationToken = defaul
/// <returns>Always returns false to allow exception to propagate.</returns>
public bool LogAndPropagate(
Exception exception,
[System.Runtime.CompilerServices.CallerMemberName] string function = "unknown"
[CallerMemberName] string function = "unknown"
)
{
logger.Error(exception, "{Function}", function);
Expand All @@ -85,7 +86,7 @@ public bool LogAndPropagate(
/// <returns>Always returns true to indicate exception was handled.</returns>
public bool LogAndHandle(
Exception exception,
[System.Runtime.CompilerServices.CallerMemberName] string function = "unknown"
[CallerMemberName] string function = "unknown"
)
{
logger.Error(exception, "{Function}", function);
Expand Down