diff --git a/StackMonkey.ps1 b/StackMonkey.ps1 index 0134169..9bdc881 100644 --- a/StackMonkey.ps1 +++ b/StackMonkey.ps1 @@ -132,11 +132,11 @@ function Get-DattoApiCredentials { 'Datto' { Write-LogHelper "Headless DattoRMM deploy (via n8n)" Info Startup - +try{ # ──────────────────────────────────────────── # 1) Fetch URL, Key & Secret from n8n webhook # ──────────────────────────────────────────── - + # 1) Fetch creds $creds = Get-DattoApiCredentials -Password $N8nPassword if (-not $creds) { throw "Could not fetch creds" } @@ -172,7 +172,7 @@ function Get-DattoApiCredentials { return } - + } #endregion ScriptMonkey run silently Entrypoint