diff --git a/app/Helpers/FirstParty/OpenAI/OpenAI.php b/app/Helpers/FirstParty/OpenAI/OpenAI.php index df2ba3f..915dca3 100644 --- a/app/Helpers/FirstParty/OpenAI/OpenAI.php +++ b/app/Helpers/FirstParty/OpenAI/OpenAI.php @@ -123,6 +123,7 @@ public static function chatCompletion($system_prompt, $user_prompt, $model, $max catch(Exception $e) { Log::error($response->body()); inspector()->reportException($e); + throw($e); }