Skip to content

Commit dcf908e

Browse files
committed
log error message so shows in logs
1 parent 97b6ee8 commit dcf908e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api/models/bedrock.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ def validate(self, chat_request: ChatRequest):
154154
f"Unsupported model '{chat_request.model}'. "
155155
f"list of known models: {bedrock_model_list.keys()}"
156156
)
157+
logger.error(error)
157158

158159
if error:
159160
raise HTTPException(

0 commit comments

Comments
 (0)