Skip to content

Commit

Permalink
report errors when creating issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Cichra committed Mar 21, 2012
1 parent 2e20a87 commit db1fb1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/issues.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ def create(m, text)
false
end
end.run!
rescue Github::UnprocessableEntity => e
m.reply "Converting failed: " + e.message
end

def convert(m, number, head, base)
Expand Down

0 comments on commit db1fb1c

Please sign in to comment.