Skip to content

Commit

Permalink
feat: enhancing dllworker logs when unziping dll files (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngruelaneo authored Jun 11, 2024
2 parents b3ffd92 + e6c1498 commit 3296682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Worker/src/Common/Archive/ZipArchiver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ public string ExtractArchive(string filename,
//Check now if the assembly is present
if (!File.Exists(mainAssembly))
{
throw new WorkerApiException($"Fail to find assembly {mainAssembly}. Something went wrong during the extraction. " +
$"Please make sure that the folder tree inside the zip file is {packageId.ApplicationName}/{packageId.ApplicationVersion}/*.dll");
throw new WorkerApiException($"Fail to find assembly {mainAssembly}. The extracted zip should have the following structure" +
$" {packageId.ApplicationName}/{packageId.ApplicationVersion}/ which will contains all the dll files.");
}

return pathToAssemblyDir;
Expand Down

0 comments on commit 3296682

Please sign in to comment.