Improve async error logging