# Raises an error if proxy config is invalid
! exec karma --config.file=karma.yaml
! stdout .
cmp stderr stderr.txt

-- stderr.txt --
level=info msg="Reading configuration file" path=karma.yaml
level=info msg="Version: dev"
level=fatal msg="Execution failed" error="failed to create Alertmanager 'proxied' with URI 'httpz://127.0.0.1': unsupported URI scheme 'httpz' in 'httpz://127.0.0.1'"
-- karma.yaml --
alertmanager:
  servers:
    - name: proxied
      uri: httpz://127.0.0.1
      proxy: true
