Improved error message on failed module load