This prevented the passing of exceptions as output. Also integrated the promise in the reporter class.