Skip to content
Snippets Groups Projects
Commit 4e652585 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(pip_setup): log content when failing to parse

parent f9596fc7
No related branches found
No related tags found
No related merge requests found
...@@ -110,7 +110,7 @@ async function extractPackageFile(content, packageFile, config) { ...@@ -110,7 +110,7 @@ async function extractPackageFile(content, packageFile, config) {
try { try {
setup = await extractSetupFile(content, packageFile, config); setup = await extractSetupFile(content, packageFile, config);
} catch (err) { } catch (err) {
logger.warn({ err }, 'Failed to read setup.py file'); logger.warn({ err, content, packageFile }, 'Failed to read setup.py file');
return null; return null;
} }
const requires = []; const requires = [];
......
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