diff --git a/src/OutlookAddin.Core/Services/EspoCrmClient.cs b/src/OutlookAddin.Core/Services/EspoCrmClient.cs index d7fcc2b..11b3076 100644 --- a/src/OutlookAddin.Core/Services/EspoCrmClient.cs +++ b/src/OutlookAddin.Core/Services/EspoCrmClient.cs @@ -390,9 +390,13 @@ namespace MarcusLaw.OutlookAddin.Core.Services { try { - return await GetJsonAsync>( + var result = await GetJsonAsync>( "DocumentFolder?orderBy=name&order=asc&maxSize=200", cancellationToken).ConfigureAwait(false); + _logger.Information( + "ListDocumentFoldersAsync → {Count} folders in tenant", + result?.List?.Count ?? 0); + return result ?? new EspoListResponse(); } catch (Exception ex) {