Fixed #3225 - handling errors during hammer module load