Skip to content

Commit

Permalink
Merge pull request #32 from tolgraven/tolgraven-patch-1
Browse files Browse the repository at this point in the history
Fix readme initialization example
  • Loading branch information
roubachof authored Feb 2, 2024
2 parents 281e2da + d7a599c commit 62638eb
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,12 @@ If your configuration has a file target, you can then retrieve your compressed l
private void InitializeAppCenter()
{
#if RELEASE
if (!LogOperatorRetriever.Instance.TryGetOperator<ILogCompressor>(out var logCompressor))
{
return;
}

Crashes.GetErrorAttachments = report =>
{
{
if (!LogOperatorRetriever.Instance.TryGetOperator<ILogCompressor>(out var logCompressor))
{
return;
}
var compressedLogs = logCompressor.GetCompressedLogs();

return new[]
Expand Down

0 comments on commit 62638eb

Please sign in to comment.