Improved logging and propagated exceptions