Skip to content

Effect error logging should be customizable or use ErrorHandler #626

@jbedard

Description

@jbedard

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[X] Feature request
[ ] Documentation issue or request

What is the current behavior?

Errors are sent to the internal ErrorReporter which logs to the console

Expected behavior:

Errors should be logged to ErrorHandler (from @angular/core) or ErrorReporter should be public and customizable/overridable to allow doing so (or both).

Version of affected browser(s),operating system(s), npm, node and ngrx:

4+ ?

Other information:

Personally I'd think just sending all errors to ErrorHandler would be best and the ErrorReporter can be removed, but maybe others depend on the console logging from ErrorReporter? Maybe just making ErrorReporter public/overridable is a good start without any breaking changes?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions