Created
December 3, 2018 09:15
-
-
Save skyporter/41cb33decf86155afba89c53053fdff7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class User | |
def self.process | |
all.each(&:process) | |
rescue StandardError => ex | |
# ensure processing other users.. | |
Appsignal.set_error(ex) | |
end | |
def process | |
# ... | |
raise Exception.new("one error") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment