message: ref: browser/ember: Use `withScope()` instead of manually push/pop
diff: @@ -56,7 +56,7 @@ export class Ember implements Integration {
  'error',
  (reason: any): void => {
  if (getCurrentHub().getIntegration(Ember)) {
  - const scope = getCurrentHub().pushScope();
  + withScope(scope => {
  if (reason instanceof Error) {
  scope.setExtra('context', 'Unhandled Promise error detected');
  this.addIntegrationToSdkInfo(scope);
  @@ -66,7 +66,7 @@ export class Ember implements Integration {
  this.addIntegrationToSdkInfo(scope);
  captureMessage('Unhandled Promise error detected');
  }
  - getCurrentHub().popScope();
  + });
  }
  },
  );
  