From 02153daa528279f2edf65307bf9763daa6d70aa7 Mon Sep 17 00:00:00 2001 From: Artur Moczulski Date: Mon, 28 Oct 2019 04:23:37 -0700 Subject: [PATCH] fix(installer): disable checking the email service for now; ref #5 --- force-app/main/default/classes/RollbarInstaller.cls | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/force-app/main/default/classes/RollbarInstaller.cls b/force-app/main/default/classes/RollbarInstaller.cls index 6e78be9..7226ea5 100644 --- a/force-app/main/default/classes/RollbarInstaller.cls +++ b/force-app/main/default/classes/RollbarInstaller.cls @@ -161,6 +161,9 @@ public with sharing class RollbarInstaller { public static Boolean rollbarEmailServiceSetUp() { + // TODO: remove when installation is finished + return true; + try { EmailServicesFunction emailFunction = [SELECT Id FROM EmailServicesFunction WHERE FunctionName='RollbarEmailService']; EmailServicesAddress emailServicesAddress = [SELECT Id, LocalPart, EmailDomainName FROM EmailServicesAddress WHERE FunctionId = :emailFunction.Id]; @@ -173,6 +176,9 @@ public with sharing class RollbarInstaller { public static Boolean apexNotificationsForwardingSetUp() { + // TODO: remove when installation is finished + return true; + EmailServicesFunction emailFunction; EmailServicesAddress emailServicesAddress; try {