lib/fir-cli-commands/batres.rb in fir-cli-batch-0.0.1 vs lib/fir-cli-commands/batres.rb in fir-cli-batch-0.0.2

- old
+ new

@@ -14,10 +14,10 @@ basename = File.basename f, extname if _is_ipa(f) || _is_apk(f) _puts "> 正在处理 #{ f }" begin resign File.join(dir, f).to_s, File.join(dir, "#{ options[:prefix] }basename#{ options[:suffix] }#{ extname }").to_s - rescue e + rescue Exception => e _puts "! #{ f } 失败:#{ e.to_s }" end end end end