diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-07-09 13:35:57 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-07-09 13:35:57 -0700 |
commit | 79921599e7ba0f150f4cd093d626eea49831d8dc (patch) | |
tree | c18acfc3c9975b9a9bbf1029f7c6f39814bdf6d8 /lib/ffi_yajl/benchmark/parse_profile.rb | |
parent | d6e5fa74de5b13abc6c60a95b83acc8eb8d3ed05 (diff) | |
download | ffi-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.rb | 2 |
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 |