Add early error logging to avoid losing error information while processing error.
Bump version.