Reviewing the change wording. Add the root cause of the error of: checkGiteaOrg to allow to know if there is a certificate error
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
This commit is contained in:
@@ -80,7 +80,9 @@ const checkGiteaOrg = async (
|
||||
getOptions,
|
||||
);
|
||||
} catch (e) {
|
||||
throw new Error(`Unable to get the Organization: ${owner}, ${e}`);
|
||||
throw new Error(
|
||||
`Unable to get the Organization: ${owner}; Error cause: ${e.cause.message}`,
|
||||
);
|
||||
}
|
||||
if (response.status !== 200) {
|
||||
throw new Error(
|
||||
|
||||
Reference in New Issue
Block a user