MeasurePlugin: Log error code when loading plugin fails