Use template literals when logging an invalid superClass