Return when a colours error is found
This commit is contained in:
parent
0f328aff0a
commit
ac2ba1ef17
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ class GitHubLinguistHealthCheckBackend(BaseHealthCheckBackend):
|
|||
colours = _get_linguist_colours()
|
||||
except Exception as e:
|
||||
self.add_error(str(e))
|
||||
return
|
||||
|
||||
if colours is None:
|
||||
self.add_error("No colours provided")
|
||||
|
|
Loading…
Reference in a new issue