You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2018/09/19 07:13:04 UTC

[kibble-scanners] 01/02: we should just pass the response text..

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble-scanners.git

commit 6fc3f4cee4fc3a3fa7ab42ccd119029c3898282d
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Sep 19 09:09:11 2018 +0200

    we should just pass the response text..
---
 src/plugins/scanners/github-issues.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/scanners/github-issues.py b/src/plugins/scanners/github-issues.py
index 198edc3..2b054cc 100644
--- a/src/plugins/scanners/github-issues.py
+++ b/src/plugins/scanners/github-issues.py
@@ -178,7 +178,7 @@ def scan(KibbleBit, source):
         KibbleBit.pprint("HTTP Error, rate limit exceeded?")
         source['steps']['issues'] = {
             'time': time.time(),
-            'status': 'Issue scan failed at ' + time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime()) + " - rate limited or no auth used??",
+            'status': 'Issue scan failed at ' + time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime()) + ": " + e.response.text,
             'running': False,
             'good': False,
         }