Add debug logs when a non-500 error occurs, force sync the configuration during installation of a new server

This commit is contained in:
Matthew Penner
2020-04-10 12:00:04 -06:00
parent 62ed90e621
commit 9e30d63818
4 changed files with 13 additions and 6 deletions

View File

@@ -84,7 +84,7 @@ func New(data []byte) (*Installer, error) {
// Create a new server instance using the configuration we wrote to the disk
// so that everything gets instantiated correctly on the struct.
s2, err := server.FromConfiguration(b, &config.Get().System)
s2, err := server.FromConfiguration(b, &config.Get().System, true)
return &Installer{
server: s2,