fix: dont use sys.exit within multiprocessing

This commit is contained in:
Robert Kaussow 2021-01-30 17:50:40 +01:00
parent 4362305e46
commit 1c7a02974c
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
1 changed files with 5 additions and 2 deletions

View File

@ -122,9 +122,12 @@ class Candidate(object):
result = standard.check(self, self.config)
if not result:
utils.sysexit_with_message(
"Standard '{id}' returns an empty result object.".format(id=standard.sid)
LOG.error(
"Standard '{id}' returns an empty result object. Check failed!".format(
id=standard.sid
)
)
continue
labels = {
"tag": "review",