Skip to content

1.0.0-beta.1 Excess error log in stateService.ts #2860

Closed
@tianweiliu

Description

@tianweiliu

1.0.0-beta.1
stateService.ts?6000:488

are the following console logs necessary?

/** @hidden */
  private _defaultErrorHandler: ((_error) => void) = function $defaultErrorHandler($error$) {
    if ($error$ instanceof Error && $error$.stack) {
      console.error($error$.stack);
    } else if ($error$ instanceof Rejection) {
      console.error($error$);
      if ($error$.detail && $error$.detail.stack)
        console.error($error$.detail.stack);
    } else {
      console.error($error$);
    }
  };

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions