Esempio n. 1
0
def handle_incoming(msg):
    try:
        process_incoming(msg)
        handle_successful_processing_attempt(msg)
    except:
        log_sms_exception(msg)
        handle_unsuccessful_processing_attempt(msg)
Esempio n. 2
0
def handle_incoming(msg):
    try:
        process_incoming(msg)
        handle_successful_processing_attempt(msg)
    except:
        log_sms_exception(msg)
        handle_unsuccessful_processing_attempt(msg)
Esempio n. 3
0
def handle_incoming(msg):
    try:
        process_incoming(msg)
        handle_successful_processing_attempt(msg)
    except:
        logging.exception("Exception while processing SMS %s" % msg._id)
        handle_unsuccessful_processing_attempt(msg)
Esempio n. 4
0
def handle_incoming(msg):
    try:
        process_incoming(msg)
        handle_successful_processing_attempt(msg)
    except:
        logging.exception("Exception while processing SMS %s" % msg._id)
        handle_unsuccessful_processing_attempt(msg)