Bugfix: use printStackTrace to print a sack trace.
Merge pull request #175 from tuub/master

Bugfix for DS-1459