Skip to content

Being able to throw error and break code instead of console.warn #2045

@Martodox

Description

@Martodox

Hi.
I am building gulp build tool for my project and found out one feature that is missing.
We should be able to break the build if an error shows up.
Right now all errors are reported by console.warn function.
Wouldn't it be nice to be able to set a flag throwing errors or supply custom reporter for even better experience.

Let me know what do you think about a feature like that. If it comes with a positive response I'd be happy to implement such a functionality.

fyi. Dirty and temporary solution is to override console.warn with your own function :D

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions