Bugfix in the error handling logic
Version bump