refactoring; more sensible error messages on twitter api call failure