Better error logging for extension mounting