mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-13 20:26:51 +08:00
fix: return error when chat-channel start has error (#18068)
This commit is contained in:
@@ -919,7 +919,10 @@ func startServer(ctx context.Context) {
|
||||
// Setup routes
|
||||
r.Setup(ginEngine)
|
||||
|
||||
channels.Start(ctx)
|
||||
_, err := channels.Start(ctx)
|
||||
if err != nil {
|
||||
common.Fatal("Fail to start chat-channel", zap.Error(err))
|
||||
}
|
||||
|
||||
apiServerConfig := globalConfig.GetAPIServerConfig()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user