Esempio n. 1
0
        public void LogError(NodeException e)
        {
            AssetGraphController gc = AssetGraphPostprocessor.Postprocessor.GetCurrentGraphController();

            if (gc == null)
            {
                throw new AssetGraphException("Error event attempt to log but no graph is in stack.");
            }

            var newEvent = AssetProcessEvent.CreateErrorEvent(e, gc.TargetGraph.GetGraphGuid());

            AddEvent(newEvent);
        }