Last active
August 28, 2015 18:35
-
-
Save epintos/db39342d0f71a74ba23c 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 DashboardMiddleware | |
def call(worker_instance, queue, sqs_msg, body) | |
# send before process information | |
yield | |
# send after process information | |
rescue Exception => e | |
# send exception information | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment