added extra error handling around inserting tweets into the db

Signed-off-by: Bart Piwowar <bart.piwowar@gmail.com>