Skip to content
Snippets Groups Projects
Unverified Commit bdf9e6ad authored by Rhys Arkins's avatar Rhys Arkins Committed by GitHub
Browse files

chore: log err.message for preset not found error (#23855)

parent e92cef11
No related merge requests found
...@@ -18,7 +18,9 @@ export async function fetchJSONFile( ...@@ -18,7 +18,9 @@ export async function fetchJSONFile(
throw err; throw err;
} }
logger.debug(`Preset file ${fileName} not found in ${repo}`); logger.debug(
`Preset file ${fileName} not found in ${repo}: ${err.message}}`
);
throw new Error(PRESET_DEP_NOT_FOUND); throw new Error(PRESET_DEP_NOT_FOUND);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment