Skip to content

Instantly share code, notes, and snippets.

View kination's full-sized avatar
🎯
Focusing

K.I. (Dennis) Jung kination

🎯
Focusing
View GitHub Profile
@kination
kination / amqp.py
Created February 7, 2017 04:37 — forked from alanhamlett/amqp.py
send an error email when a Celery worker raises an unhandled exception
# -*- coding: utf-8 -*-
"""
wakatime.amqp
~~~~~~~~~~~~~
Setup for Celery distributed task queue.
"""
import socket