added logging to failed module loads