1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman 2021-11-01 12:53:49 +02:00
parent de392d77ed
commit f8fa4b92f8

View File

@ -105,6 +105,8 @@ export class CreateResourceStore extends DockTabStore<string> {
const textContent = await fs.readFile(templatePath, { encoding: "utf-8" });
templatesGroup.templates.set(filePath, textContent); // save cache
return textContent;
} catch (error) {
logger.error(`[CREATE-RESOURCE]: reading "${sourceFolder}/${filePath}" has failed: ${error}`);
}