feat: panic log (#137)

This commit is contained in:
Li Wei authored and GitHub committed 2023-07-05 21:12:55 +08:00
1 parent fcb54d3acc
commit 5968d3c14a
5 files changed
+31

No files matched your search

+1
View File
@@ -65,6 +65,7 @@ func BuildServer(startCfg *model.StartConfig) (*http.Server, net.Listener, error
} else {
downloadCfg.Storage = download.NewMemStorage()
}
downloadCfg.StorageDir = startCfg.StorageDir
downloadCfg.Init()
Downloader = download.NewDownloader(downloadCfg)
if err := Downloader.Setup(); err != nil {