This commit is contained in:
2026-03-24 19:55:31 +01:00
parent bf23224a51
commit 0355bd22a6
@@ -33,10 +33,8 @@ namespace Musify.Infrastructure.Messaging.Activities
var destinationPath = executeContext.GetVariable<string>(executeContext.Arguments.DestinationFilePathVariableName); var destinationPath = executeContext.GetVariable<string>(executeContext.Arguments.DestinationFilePathVariableName);
if (string.IsNullOrWhiteSpace(destinationPath)) if (string.IsNullOrWhiteSpace(destinationPath))
{
throw new InvalidOperationException( throw new InvalidOperationException(
$"Download activity requires variable '{executeContext.Arguments.DestinationFilePathVariableName}' with destination file path."); $"Download activity requires variable '{executeContext.Arguments.DestinationFilePathVariableName}' with destination file path.");
}
try try
{ {