Updating exit code type
@@ -149,7 +149,7 @@ class HubManager implements ExitCodeReporter {
} catch (IntegrationException e) {
throw new DetectUserFriendlyException(e.message, e, ExitCodeType.FAILURE_HUB_CONNECTIVITY)
} catch (Exception e) {
- throw new DetectUserFriendlyException("There was a problem : ${e.message}", e, ExitCodeType.FAILURE_UNKNOWN_ERROR)
+ throw new DetectUserFriendlyException("There was a problem : ${e.message}", e, ExitCodeType.FAILURE_GENERAL_ERROR)
}
}
