# Raises an error if proxy_url 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=ERROR msg="Execution failed" error="failed to parse provided proxy url \"%gh&%ij\": parse \"%gh&%ij\": invalid URL escape \"%gh\""
-- karma.yaml --
alertmanager:
  servers:
    - name: with_proxy
      uri: http://127.0.0.1:9093
      proxy_url: '%gh&%ij'
