maritz/node-sprintf — pull request #5 by tikonen (2011-12-21 07:54:29+00:00)
Title: Object printing and error stack traces

Old version used sys.inspect to print out objects for %O format, that does not work well with node 0.6 that changed the way objects are printed.

This patch has internal object printout function that does not change with Node versions. Also, I changed exceptions to Errors so it's possible to get some stack trace where error happened.