mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-25 19:15:18 +02:00
refactor: update Google Drive indexer to return an additional unsupported file count, enhancing error reporting consistency
This commit is contained in:
parent
aba5f6a124
commit
e4462292e4
2 changed files with 3 additions and 9 deletions
|
|
@ -758,7 +758,7 @@ async def _index_with_delta_sync(
|
||||||
|
|
||||||
if not changes:
|
if not changes:
|
||||||
logger.info("No changes detected since last sync")
|
logger.info("No changes detected since last sync")
|
||||||
return 0, 0
|
return 0, 0, 0
|
||||||
|
|
||||||
logger.info(f"Processing {len(changes)} changes")
|
logger.info(f"Processing {len(changes)} changes")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -417,14 +417,8 @@ export const ConnectorEditView: FC<ConnectorEditViewProps> = ({
|
||||||
disabled={isSaving || isDisconnecting}
|
disabled={isSaving || isDisconnecting}
|
||||||
className="text-xs sm:text-sm flex-1 sm:flex-initial h-12 sm:h-auto py-3 sm:py-2"
|
className="text-xs sm:text-sm flex-1 sm:flex-initial h-12 sm:h-auto py-3 sm:py-2"
|
||||||
>
|
>
|
||||||
{isSaving ? (
|
{isSaving && <Spinner size="sm" className="mr-2" />}
|
||||||
<>
|
Save Changes
|
||||||
<Spinner size="sm" className="mr-2" />
|
|
||||||
Saving
|
|
||||||
</>
|
|
||||||
) : (
|
|
||||||
"Save Changes"
|
|
||||||
)}
|
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue