better error reporting when loading external modules