update exception logging

This commit is contained in:
KF7EEL 2021-02-26 10:02:39 -08:00
parent 7aaf7f9330
commit 940b46fc2e
2 changed files with 2 additions and 0 deletions

View File

@ -261,6 +261,7 @@ def process_sms(_rf_src, sms):
logger.info('Email sent.')
except Exception as error_exception:
logger.info('Failed to send email.')
logger.info(error_exception)
elif '@MH' in sms:
grid_square = re.sub('@MH ', '', sms)
if len(grid_square) < 6:

View File

@ -254,6 +254,7 @@ def process_sms(_rf_src, sms):
logger.info('Email sent.')
except Exception as error_exception:
logger.info('Failed to send email.')
logger.info(error_exception)
elif '@MH' in sms:
grid_square = re.sub('@MH ', '', sms)
if len(grid_square) < 6: