Skip to content

Commit

Permalink
Merge pull request #126 from domenic/windows
Browse files Browse the repository at this point in the history
[fix] [windows] Fixing uncaught exception handler on Windows.
  • Loading branch information
Marak committed May 30, 2012
2 parents 3a0978a + a32d92b commit e55fe5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/winston/exception.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ exception.getAllInfo = function (err) {
exception.getProcessInfo = function () {
return {
pid: process.pid,
uid: process.getuid(),
gid: process.getgid(),
uid: process.getuid ? process.getuid() : null,
gid: process.getgid ? process.getgid() : null,
cwd: process.cwd(),
execPath: process.execPath,
version: process.version,
Expand Down

0 comments on commit e55fe5e

Please sign in to comment.