Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Hathcock committed Apr 24, 2024
1 parent dbbc7c8 commit 9483856
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/SharpCompress/Archives/Tar/TarArchive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,9 @@ var header in TarHeaderFactory.ReadHeader(
CompressionType.None
);
}
} else {
}
else
{
throw new IncompleteArchiveException("Failed to read TAR header");
}
}
Expand Down

0 comments on commit 9483856

Please sign in to comment.