Created
December 2, 2011 03:00
-
-
Save joshsmith/1421530 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var pg = require('pg'); | |
client = new pg.Client(app.settings.db); | |
client.on('error', function(error) { | |
console.log(error); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data: 2011-12-02T02:59:30.754Z: events.js:47 | |
data: 2011-12-02T02:59:30.754Z: throw new Error("Uncaught, unspecified 'error' event."); | |
data: 2011-12-02T02:59:30.754Z: ^ | |
data: 2011-12-02T02:59:30.754Z: Error: Uncaught, unspecified 'error' event. | |
data: 2011-12-02T02:59:30.754Z: at [object Object].emit (events.js:47:15) | |
data: 2011-12-02T02:59:30.754Z: at [object Object].<anonymous> (/usr/local/src/joshsmith/wadsup/wadsup/node_modules/pg/lib/client.js:10... | |
data: 2011-12-02T02:59:30.754Z: at [object Object].emit (events.js:64:17) | |
data: 2011-12-02T02:59:30.754Z: at Socket.<anonymous> (/usr/local/src/joshsmith/wadsup/wadsup/node_modules/pg/lib/connection.js:47:12) | |
data: 2011-12-02T02:59:30.754Z: at Socket.emit (events.js:64:17) | |
data: 2011-12-02T02:59:30.754Z: at Socket._onReadable (net.js:678:14) | |
data: 2011-12-02T02:59:30.754Z: at IOWatcher.onReadable [as callback] (net.js:177:10) | |
data: 2011-12-02T02:59:30.663Z: Warning: connection.session() MemoryStore is not | |
data: 2011-12-02T02:59:30.663Z: designed for a production environment, as it will leak | |
data: 2011-12-02T02:59:30.663Z: memory, and obviously only work within a single process. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment