From 145ea1e6f17cc766df266ca3eacf8dd688eb1930 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Thu, 27 Jul 2023 11:58:12 +0330 Subject: full multiuser shadowsocks full multiuser shadowsocks + fix logs after api changes Co-Authored-By: Alireza Ahmadi --- xray/api.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xray') diff --git a/xray/api.go b/xray/api.go index f39361f2..56406df0 100644 --- a/xray/api.go +++ b/xray/api.go @@ -63,10 +63,12 @@ func (x *XrayAPI) AddInbound(inbound []byte) error { err := json.Unmarshal(inbound, conf) if err != nil { logger.Debug("Failed to unmarshal inbound:", err) + return err } config, err := conf.Build() if err != nil { logger.Debug("Failed to build inbound Detur:", err) + return err } inboundConfig := command.AddInboundRequest{Inbound: config} -- cgit v1.2.3