Skip to content

Commit

Permalink
add condition
Browse files Browse the repository at this point in the history
  • Loading branch information
marticliment committed Feb 28, 2025
1 parent b968ec2 commit 137fa41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/UniGetUI.PackageEngine.Operations/AbstractOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,10 @@ public async Task MainThread()
OperationFinished?.Invoke(this, EventArgs.Empty);
Line(CoreTools.Translate("Operation canceled by user"), LineType.Error);
}
else
{
throw new InvalidCastException();
}
}
catch (Exception ex)
{
Expand Down

0 comments on commit 137fa41

Please sign in to comment.