djeuscan: use debug to dump json on error
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
This commit is contained in:
parent
5d39cbf2fd
commit
7e911bd9c6
@ -31,8 +31,11 @@ class ScanUpstream(object):
|
|||||||
ebuild = out[package]["metadata"]["ebuild"]
|
ebuild = out[package]["metadata"]["ebuild"]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
self.logger.error(
|
self.logger.error(
|
||||||
"Error while scanning upstream for package %s!\n%s",
|
"Error while scanning upstream for package %s!",
|
||||||
package,
|
package
|
||||||
|
)
|
||||||
|
self.logger.debug(
|
||||||
|
"Error %s",
|
||||||
out_json
|
out_json
|
||||||
)
|
)
|
||||||
return {}
|
return {}
|
||||||
|
Loading…
Reference in New Issue
Block a user