distinguish loading errors from module errors

minor