summaryrefslogtreecommitdiff
path: root/lib/ffi_yajl/benchmark/parse_profile.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-07-09 13:35:57 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-07-09 13:35:57 -0700
commit79921599e7ba0f150f4cd093d626eea49831d8dc (patch)
treec18acfc3c9975b9a9bbf1029f7c6f39814bdf6d8 /lib/ffi_yajl/benchmark/parse_profile.rb
parentd6e5fa74de5b13abc6c60a95b83acc8eb8d3ed05 (diff)
downloadffi-yajl-79921599e7ba0f150f4cd093d626eea49831d8dc.tar.gz
eliminate Rescue Exception
Diffstat (limited to 'lib/ffi_yajl/benchmark/parse_profile.rb')
-rw-r--r--lib/ffi_yajl/benchmark/parse_profile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ffi_yajl/benchmark/parse_profile.rb b/lib/ffi_yajl/benchmark/parse_profile.rb
index 39343bc..dfcbc01 100644
--- a/lib/ffi_yajl/benchmark/parse_profile.rb
+++ b/lib/ffi_yajl/benchmark/parse_profile.rb
@@ -5,7 +5,7 @@ require 'rubygems'
require 'ffi_yajl'
begin
require 'perftools'
-rescue Exception
+rescue LoadError
puts "INFO: perftools.rb gem not installed"
end