diff --git a/Install-EmberkomCloudBackup.ps1 b/Install-EmberkomCloudBackup.ps1 index f94b9b4..8cf1008 100644 --- a/Install-EmberkomCloudBackup.ps1 +++ b/Install-EmberkomCloudBackup.ps1 @@ -29,7 +29,7 @@ Catch { LogErr $_.Exception.Message } ## Set the agent edition LogMsg "Setting Emberkom Cloud Backup agent edition to ""$AgentEdition""" Try { Set-MBSAgentSetting -Edition $AgentEdition -Verbose } -Catch { $_.Exception.Message } +Catch { LogErr $_.Exception.Message } ## Get agent details and custom fields from Atera Try {