hjespers/teslams — pull request #15 by dirkhh (2013-08-23 14:00:08+00:00)
Title: Make visualize.js more readable

This is almost exclusively a change of indentation levels (by modifying the way
the code checks for an error when connecting to the database). There are a
couple of minor changes on when we throw an error versus just report it.

Signed-off-by: Dirk Hohndel