Skip to content

The server has no method of dealing with global exceptions. #665

@Octalbyte

Description

@Octalbyte

Steps to reproduce the issue, if applicable. Include the actual command and output and/or stack trace.

What did you expect to happen?
I expected that when an error happens, the server didn't crash. Yet it should log the exception and continue. Crashing makes the server vulnerable if it's used for production.

If the issue is a feature request, what is the motivation / use case for it?

Tell us about your environment

  • exact http-server version: Latest
  • Node version: 12.6.0
  • Platform: Windows 10 Home

Other information (related issues, suggestions for a fix, etc):
#634 #502

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