# Raises an error if listen.prefix is invalid
! exec karma --alertmanager.uri http://127.0.0.1 --listen.prefix karma
! stdout .
cmp stderr stderr.txt

-- stderr.txt --
level=ERROR msg="Execution failed" error="listen.prefix must start with '/', got \"karma\""
