Skip to content

Commit ef1d76d

Browse files
committed
fix(bulk-import): change listAllRepositoriesForAuthenticatedUser to throw error on failure
Signed-off-by: Dominik Augustín <daugusti@redhat.com>
1 parent e384201 commit ef1d76d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • workspaces/bulk-import/plugins/bulk-import-backend/src/gitlab/utils

workspaces/bulk-import/plugins/bulk-import-backend/src/gitlab/utils/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,6 @@ export async function listAllRepositoriesForAuthenticatedUser(
264264
deps.logger.error(
265265
`Failed to list all repositories for authenticated user: ${error}`,
266266
);
267-
return [];
267+
throw error;
268268
}
269269
}

0 commit comments

Comments
 (0)