Преглед на файлове

```
feat(remove_bg_pixian): 增强错误信息返回

添加HTTP响应状态码到错误消息中,便于调试和问题定位
```

rambo преди 3 седмици
родител
ревизия
50d17e16d3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      python/service/remove_bg_pixian.py

+ 1 - 1
python/service/remove_bg_pixian.py

@@ -63,7 +63,7 @@ class Segment(object):
                 print("response.status_code:", response.status_code)
                 data = {"im": None,
                         "status_code": "time_out",
-                        "message":"处理失败"
+                        "message":"处理失败;{}".format(response.status_code)
                         }
                 return data
         except BaseException as e: