fix: clean up before panic in server add command
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Wiktor W. 2024-01-06 12:49:48 +01:00
parent fd15aeab9a
commit 4db15d8530
1 changed files with 1 additions and 1 deletions

View File

@ -174,8 +174,8 @@ configuration. Checks for a valid online domain will be skipped.
}
if err := newContext(c, domainName, hostConfig.Host, hostConfig.User, hostConfig.Port); err != nil {
logrus.Fatal(err)
cleanUp(domainName)
logrus.Fatal(err)
}
logrus.Infof("attempting to create client for %s", domainName)