Handle returned error

This commit is contained in:
Brandon Bodnar 2019-02-01 13:16:54 -06:00
parent c440112d44
commit f67ec15f2b

View File

@ -245,7 +245,9 @@ func main() {
migrationContext.SetThrottleHTTP(*throttleHTTP)
migrationContext.SetDefaultNumRetries(*defaultRetries)
migrationContext.ApplyCredentials()
migrationContext.SetupTLS()
if err := migrationContext.SetupTLS(); err != nil {
log.Fatale(err)
}
if err := migrationContext.SetCutOverLockTimeoutSeconds(*cutOverLockTimeoutSeconds); err != nil {
log.Errore(err)
}