catch refresh error
revamp test
revamp
Merge pull request #1 from sycy600/catch_referesh_error

Catch referesh error