Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Print a friendly message if something goes wrong with git fixing

  • Loading branch information...
commit ffcb392c83c3e6876a5df368515fbc0cc6370e9b 1 parent 7921f19
@olabini authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  generate_filter_data.rb
View
3  generate_filter_data.rb
@@ -5,7 +5,8 @@
begin
commit_lines = `git branch -v --no-color`.to_a
commit = commit_lines.grep(/^\* /).first.split[2]
-rescue Exception
+rescue Exception => e
+ $stderr.puts "Had a problem when finding out commit info - #{e} (THIS IS NOT A CATASTROPHIC ERROR, you can still build Ioke)"
commit = "???"
end
Please sign in to comment.
Something went wrong with that request. Please try again.