give more diagnostic info on import errors