lib/scout/tsv/persist.rb in scout-gear-10.3.0 vs lib/scout/tsv/persist.rb in scout-gear-10.4.0
- old
+ new
@@ -1,15 +1,15 @@
require 'scout/persist'
require_relative 'persist/adapter'
begin
require_relative 'persist/tokyocabinet'
-rescue
+rescue Exception
end
begin
require_relative 'persist/tkrzw'
-rescue
+rescue Exception
end
Persist.save_drivers[:tsv] = proc do |file,content|
stream = if IO === content
content