diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-07-27 11:28:12 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-07-27 11:28:46 +0300 |
| commit | 145ea1e6f17cc766df266ca3eacf8dd688eb1930 (patch) | |
| tree | 3849ce3c15ba5d418ffda923270f1163f1e02124 /xray/api.go | |
| parent | 4cfed17650a2aa22346a4aee7aacf3ef6d0c667a (diff) | |
full multiuser shadowsocks
full multiuser shadowsocks +
fix logs after api changes
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'xray/api.go')
| -rw-r--r-- | xray/api.go | 2 |
1 files changed, 2 insertions, 0 deletions
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} |
