fixes #43: only print stacktrace if debugplugins is enabled
Merge pull request #66 from zyro23/issue-43

fixes #43: only print stacktrace if debugplugins is enabled