Fix error reporting
Release 1.0.2