Skip to content

Commit 02af8e3

Browse files
committed
fix sdk typos
1 parent d2e97db commit 02af8e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

veadk/integrations/ve_viking_db_memory/ve_viking_db_memory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def get_body_exception(self, api, params, body):
179179
except Exception as e:
180180
try:
181181
res_json = json.loads(e.args[0].decode("utf-8"))
182-
except:
182+
except Exception as e:
183183
raise VikingDBMemoryException(
184184
1000028, "missed", "json load res error, res:{}".format(str(e))
185185
) from None
@@ -203,7 +203,7 @@ def get_exception(self, api, params):
203203
except Exception as e:
204204
try:
205205
res_json = json.loads(e.args[0].decode("utf-8"))
206-
except:
206+
except Exception as e:
207207
raise VikingDBMemoryException(
208208
1000028, "missed", "json load res error, res:{}".format(str(e))
209209
) from None

0 commit comments

Comments
 (0)