We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1896873 + 8246ffe commit 4336615Copy full SHA for 4336615
packages/contentstack-import/src/utils/import-path-resolver.ts
@@ -55,8 +55,8 @@ export const selectBranchFromDirectory = async (contentDir: string): Promise<{ b
55
return { branchPath: selectedBranchPath };
56
}
57
} catch (error) {
58
- log.error(`Error reading branches.json: ${error}`);
59
- throw new Error('Failed to read branches.json file. Please ensure the file exists and is valid JSON.');
+ log.error(`Error selecting branch directory from directory structure: ${error}`);
+ throw error;
60
61
};
62
0 commit comments