migrated error handling for microblogging