mirror of
https://github.com/TabbyML/tabby
synced 2024-11-22 08:21:59 +00:00
fix(webserver): specify error message for failed integration sync jobs (#2210)
This commit is contained in:
parent
5655934af3
commit
950842bbc3
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user