Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)