mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 12:25:22 +00:00
feedback
This commit is contained in:
parent
45bac0fb74
commit
067668bb1e
1 changed files with 2 additions and 1 deletions
|
|
@ -305,7 +305,8 @@ export const getProjectsForAuthenticatedUser = async (visibility: 'private' | 'i
|
|||
} : {}),
|
||||
perPage: 100,
|
||||
});
|
||||
return fetchWithRetry(fetchFn, `authenticated user`, logger) as Promise<ProjectSchema[]>;
|
||||
const response = await fetchWithRetry(fetchFn, `authenticated user`, logger);
|
||||
return response;
|
||||
} catch (error) {
|
||||
Sentry.captureException(error);
|
||||
logger.error(`Failed to fetch projects for authenticated user.`, error);
|
||||
|
|
|
|||
Loading…
Reference in a new issue