mranney/node_redis — pull request #183 by DTrejo (2012-03-05 22:39:26+00:00)
Title: How to correctly auth to server; what error to look for if you're doing it wrong; emit Error objects not string

This is a documentation & correct error throwing fix for #155 & #172

Super short summary of what this does: explains how to correctly auth to server; what error to look for if you're doing it wrong; and code to emit Error objects not strings.

Tests are still passing :)

PS Yes, by re-making the Error object you do lose one stack frame from the error, but it's ok since it is not relevant (from what I saw).

I looked through all of index.js and corrected all instances of strings being thrown/emitted instead of Errors.