示例#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)
示例#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)
示例#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)
示例#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)