summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xicktool5
1 files changed, 4 insertions, 1 deletions
diff --git a/icktool b/icktool
index 5329fd2..34266d3 100755
--- a/icktool
+++ b/icktool
@@ -432,7 +432,10 @@ class TriggerCommand(Command):
def execute(self, args):
for project in args:
- self._prettyson(self.api.trigger(project))
+ try:
+ self._prettyson(self.api.trigger(project))
+ except ick2.HttpError as e:
+ sys.stderr.write('ERROR: {}: {}\n'.format(project, str(e)))
class ShowCommand(Command):