tigattack / VeeamNotify

Send Veeam B&R session summary notifications to Discord, Slack, and Teams.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error running the Installation Script

DevSkillsIT opened this issue · comments

After running the script and entering the Slack URL we get the error below in powershell.
I tried with several options (B, F, N, W) and they all give the same error.

Exception setting "on_fail": "The property 'on_fail' cannot be found on this object. Verify that the property exists
and can be set."
At D:\Veeam\Scripts_Veeam\Installer.ps1:214 char:3

  •     $config.mentions.on_fail = $true
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecord
      2022-04-12 12_42_01-172 16 1 6 - Conexão de Área de Trabalho Remota
      Exception
    • FullyQualifiedErrorId : ExceptionWhenSetting

Hi, thanks for letting me know!
I've made a few significant changes to the config schema recently and forgot to update the installer. I'll fix this shortly.

Please remember this project is still pre-release and while most things should work, I can't make any guarantees!

I understand!
But I would love to start testing.
Is there any Branch that already has this fix?

I've transferred the issue as I believe it was created in the wrong repository (which I didn't notice at first!)

The fix should now be live on the dev branch.

Did this fix solve your issue @DevSkillsIT?

No response; closing.

Let me know if have any further issues.