add useful debugging information when parameters are not set
Merge pull request #38 from mikeferguson/fix_33

add useful debugging information when parameters are not set