Skip to content

Commit

Permalink
fix(webserver): specify error message for failed integration sync jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
boxbeam committed May 21, 2024
1 parent 1886385 commit 459073b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee/tabby-webserver/src/service/repository/third_party.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 459073b

Please sign in to comment.