(GH-96) Improve logging, error messages, and provide error context