Skip to content

Commit 08a0245

Browse files
committed
fix: improve error logging format for TencentCloudSDKException
1 parent 8fe2124 commit 08a0245

File tree

1 file changed

+1
-1
lines changed
  • apps/models_provider/impl/tencent_model_provider/model

1 file changed

+1
-1
lines changed

apps/models_provider/impl/tencent_model_provider/model/stt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ def speech_to_text(self, audio_file):
7777

7878

7979
except TencentCloudSDKException as err:
80-
print(err)
80+
maxkb_logger.error(f":Error: {str(err)}: {traceback.format_exc()}")

0 commit comments

Comments
 (0)