Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Fix undefined handle_openai_api_error function call in summary error handler
Murtaza Nasira0daf4826b9e
diff --git a/src/app.py b/src/app.pyindex efe42253..e8239b17 100644--- a/src/app.py+++ b/src/app.py@@ -2636,7 +2636,7 @@ Summarization Instructions:db.session.commit()except Exception as e:- error_msg = handle_openai_api_error(e, "summary")+ error_msg = format_api_error_message(str(e))app.logger.error(f"Error generating summary for recording {recording_id}: {str(e)}")recording.summary = error_msgrecording.status = 'FAILED'