Improved error logging for debugging

No match.