Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: winstonjs/winston
base: 3a0978aebc
...
head fork: winstonjs/winston
compare: e55fe5e661
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Apr 11, 2012
@domenic domenic Fixing uncaught exception handler on Windows.
The lack of `process.getuid` and `process.getgid` cause it to throw an exception. An exception in the uncaught exception handler is... not good.
a32d92b
Commits on May 30, 2012
@Marak Marak Merge pull request #126 from domenic/windows
[fix] [windows] Fixing uncaught exception handler on Windows.
e55fe5e
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/winston/exception.js
View
4 lib/winston/exception.js
@@ -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,

No commit comments for this range

Something went wrong with that request. Please try again.