From 950842bbc322584307616a665c9aa84809e1952e Mon Sep 17 00:00:00 2001 From: boxbeam Date: Tue, 21 May 2024 13:41:39 -0400 Subject: [PATCH] fix(webserver): specify error message for failed integration sync jobs (#2210) --- ee/tabby-webserver/src/service/repository/third_party.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/tabby-webserver/src/service/repository/third_party.rs b/ee/tabby-webserver/src/service/repository/third_party.rs index bf7e20402..1b661d43a 100644 --- a/ee/tabby-webserver/src/service/repository/third_party.rs +++ b/ee/tabby-webserver/src/service/repository/third_party.rs @@ -169,7 +169,7 @@ impl ThirdPartyRepositoryService for ThirdPartyRepositoryServiceImpl { Ok(repos) => repos, Err((e, true)) => { self.integration - .update_integration_sync_status(provider.id.clone(), Some("".into())) + .update_integration_sync_status(provider.id.clone(), Some(e.to_string())) .await?; error!( "Credentials for integration {} are expired or invalid",