|
@@ -153,9 +153,9 @@ |
|
153
|
153
|
} |
|
154
|
154
|
try { |
|
155
|
155
|
$client = new $clientClass(); |
|
156
|
156
|
return self::createAIService( $ai_tools, $client ); |
|
157
|
|
- } catch ( \Throwable $e ) { |
|
157
|
+ } catch ( Exception $e ) { |
|
158
|
158
|
return false; |
|
159
|
159
|
} |
|
160
|
160
|
} |
|
161
|
161
|
|