Skip to content

Question on (error) logging #39

@christophwille

Description

@christophwille

I have a catch clause:

        catch (Exception ex)
        {
            // TODO: how to log this properly? (Console?)
            exception = ex.ToString();
        }

https://github.com/christophwille/SpinHello/blob/27ee9a28351866fd167ed10039829ba6b8e704eb/src/Handler/Handler.cs#L84

I remember the comparison to CGI with error console out; does this apply/work in .NET that way too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions