diff options
Diffstat (limited to 'yarn')
-rwxr-xr-x | yarn | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -292,6 +292,10 @@ class YarnRunner(cliapp.Application): if matches(s.name, name) and s not in result: result.append(s) break + else: + raise cliapp.AppException( + 'Requested scenario %s does not exist' % + name) return result return scenarios |