Fixes #822. Deps.flush hides Error.message.

Prints e.message if e.stack undefined.