mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 15:06:27 +00:00
fix(pip_setup): log content when failing to parse
This commit is contained in:
parent
f9596fc7ea
commit
4e65258552
1 changed files with 1 additions and 1 deletions
|
@ -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 = [];
|
||||||
|
|
Loading…
Reference in a new issue