From 612ef9a6a3f798e0607190415c4c618647d0a9f6 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 1 Sep 2025 19:17:33 +0800 Subject: [PATCH] bugfix --- llmage/llmclient.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llmage/llmclient.py b/llmage/llmclient.py index fda09d6..e176658 100644 --- a/llmage/llmclient.py +++ b/llmage/llmclient.py @@ -59,6 +59,8 @@ where x.id = ${llmid}$ return recs[0] else: debug(f'{llmid=} not found') + return None + exception(f'{db.e_except}\n{format_exc()}') return None async def get_owner_userid(sor, llm): sql = '''select a.ownerid as userid from upappkey a, upapp b