Compare commits

..
Author SHA1 Message Date
Vishnu Narayanan cd016c5ad4 chore: log webhook response data on error 2023-11-24 14:18:13 +05:30
Sojan dcd18072b4 Merge branch 'release/3.3.1'
Publish Chatwoot CE docker images / build (push) Waiting to run
2023-11-18 10:24:25 -08:00
Sojan 4244945e7b Bump version to 3.3.1 2023-11-18 10:23:18 -08:00
Clairton Rodrigo HeinzenandGitHub 17725e4dd0 fix: Breakage of message pane when Openai integration isn't enabled (#8381)
Error when the Openai integration isn't enabled

fixes: https://github.com/chatwoot/chatwoot/issues/8379
2023-11-18 10:18:55 -08:00
Sojan d55bb63aa0 Merge branch 'release/3.3.0' into develop 2023-11-17 20:37:44 -08:00
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export default {
aiIntegration() {
return this.appIntegrations.find(
integration => integration.id === 'openai' && !!integration.hooks.length
).hooks[0];
)?.hooks[0];
},
isAIIntegrationEnabled() {
return !!this.aiIntegration;
+1 -1
View File
@@ -1,5 +1,5 @@
shared: &shared
version: '3.3.0'
version: '3.3.1'
development:
<<: *shared
+3 -2
View File
@@ -12,10 +12,11 @@ class Webhooks::Trigger
end
def execute
perform_request
response = perform_request
rescue StandardError => e
handle_error(e)
Rails.logger.warn "Exception: Invalid webhook URL #{@url} : #{e.message}"
Rails.logger.warn "Webhooks: Exception: Invalid webhook URL #{@url} : #{e.message}"
Rails.logger.warn "Webhooks: Response body: #{response.body}" if response.respond_to?(:body)
end
private
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@chatwoot/chatwoot",
"version": "3.3.0",
"version": "3.3.1",
"license": "MIT",
"scripts": {
"eslint": "eslint app/**/*.{js,vue}",