Nicer error print

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2019-12-17 16:27:41 +01:00
parent 0eb7991bbd
commit 9bd0072d5c
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -137,7 +137,7 @@ var initCmd = &cli.Command{
}
if !v.APIVersion.EqMajorMinor(build.APIVersion) {
return xerrors.Errorf("Remote API version didn't match (local %x, remote %x)", build.APIVersion, v.APIVersion)
return xerrors.Errorf("Remote API version didn't match (local %s, remote %s)", build.APIVersion, v.APIVersion)
}
log.Info("Initializing repo")