Skip to content

DeprecationWarning causing 500 Internal Server Error in wzrd #15

@deathcap

Description

@deathcap

All output on stderr causes a 500 Internal Server Error:

  proc.stderr.pipe(concat(function error(err) {
    console.log(err);
    if (!err.length) return
    endLog()
    process.stderr.write(err.toString())
    res.statusCode = 500

This includes the DeprecationWarning: 'GLOBAL' is deprecated, use 'global' warning added in Node.js v6: nodejs/node#1838, triggered by cwise-parser

Works with beefy (no server error)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions