7882644 catch git error

Authored and Committed by darknao 2 years ago
    catch git error