# Raises an error if negative refresh interval is passed
! exec karma --alertmanager.interval=-4s
! stdout .
cmp stderr stderr.txt

-- stderr.txt --
level=ERROR msg="Execution failed" error="invalid alertmanager.interval value '-4s'"
