Imporved logging and error handling.
Improved logging and error handling.
Improved logging and error handling.