strongloop/loopback-connector-postgresql — pull request #26 by bajtos (2014-08-20 08:26:20+00:00)
Title: Pass connection errors to callback

Studio and loopback-workspace call `connect` to check if the connection parameters are correct.

Before this change, the Node process crash when connection fails. After this change, the connection error is reported via the callback.

/to @raymondfeng