Fix printstacktrace and wrong exception handling
version change
Merge branch 'release/0.3' into develop