diff --git a/force-app/main/default/classes/Config.cls b/force-app/main/default/classes/Config.cls index d4f9d45..16937ec 100644 --- a/force-app/main/default/classes/Config.cls +++ b/force-app/main/default/classes/Config.cls @@ -1,9 +1,5 @@ public with sharing class Config { public Config(String accessToken, String environment) { - if (accessToken == null || accessToken == '') { - throw new RollbarNotInitializedException('Invalid access token'); - } - this.accessToken = accessToken; this.environment = environment; this.endpoint = 'https://api.rollbar.com/api/1/item/'; diff --git a/manifest/package.xml b/manifest/package.xml index 1f268e2..4ad74c3 100644 --- a/manifest/package.xml +++ b/manifest/package.xml @@ -1,7 +1,7 @@ Rollbar for Apex - 45.0 + 1.2 ApexClass @@ -37,4 +37,10 @@ RemoteSiteHelper ApexComponent + + + RollbarConfigure + RollbarInstallationCheck + ApexPage + \ No newline at end of file