fix(webserver): specify error message for failed integration sync jobs (#2210)

This commit is contained in:
boxbeam 2024-05-21 13:41:39 -04:00 committed by GitHub
parent 5655934af3
commit 950842bbc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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",