Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Adds rescue to method.
Browse files Browse the repository at this point in the history
  • Loading branch information
joegatt committed May 28, 2013
1 parent bf1e2ba commit fc4896c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/daemons/sync_all.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require ENV["RAILS_ENV_PATH"]
# require ENV["RAILS_ENV_PATH"]
require File.expand_path(File.join(File.dirname(__FILE__), '../..', 'config', 'environment'))
require 'rubygems'

Expand All @@ -8,4 +8,6 @@
Resource.sync_all_binaries
Book.sync_all
sleep Settings.evernote.daemon_frequency
rescue: error
puts error.backtrace
end

0 comments on commit fc4896c

Please sign in to comment.