+ fix error reporting for exception