some convenient dependencies.
catch a hub connection error.