Skip to content

Commit 2336b6d

Browse files
committed
fix:nacos
1 parent 019d953 commit 2336b6d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/memos/api/config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,12 @@ def _auth_headers():
203203
logger.info("✅ parse Nacos setting is Properties ")
204204
except Exception as e:
205205
logger.error(f"⚠️ Nacos parse fail(not JSON/YAML/Properties): {e}")
206-
return
206+
raise Exception(f"Nacos configuration parsing failed: {e}")
207+
207208

208209
except Exception as e:
209210
logger.error(f"❌ Nacos AK/SK init fail: {e}")
211+
raise Exception(f"❌ Nacos AK/SK init fail: {e}")
210212

211213

212214
# init Nacos

0 commit comments

Comments
 (0)