Skip to content

Debug Mode For a Widget #104

@bogdans83

Description

@bogdans83

@aismail

If we inherit everything from Module and find a way to derive name in JS (full path to current file), it will be easy, just like in Python. It's pretty easy to migrate what we have now because we don't have THAT many logging statements.

Be careful that logging should be the first component of the system initialized and it shouldn't have any other dependencies. I'm not sure however if it's worth doing right now :(

@skidding

It'd be a nice to have, but I don't think there's an easy way to do it. You'd have to trace back where logger.error is called from. And I still don't think we even have consistent logging in JS. Thrown exceptions could be caught separately though, with some conditional logic in module wrapping https://github.com/uberVU/thehole/blob/master/app/core/module.coffee#L53-L74

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