improved error logging for twitter posts