private async Task <Rollbar.RollbarResponse> PostToRollbar(dynamic payload) { var rollbarConfig = RollbarConfigProvider.GetRollbarConfig(); var rollbarClient = new Services.RollbarClient(rollbarConfig); //Post to the real Rollbar, or to whatever Rollbar endpoint is configured in the rollbar.repeater's web.config (only configured if we need to override the default) return(await rollbarClient.PostAsJsonAsync(payload, scrubFields : null)); }
public Rollbar.RollbarConfig Get() { return(RollbarConfigProvider.GetRollbarConfig()); }