Picture errorFunction throw error

this code on go-debug.js, throw error.

  // define the Node template
  diagramA.nodeTemplate =
    $go(go.Node, "Auto",
      new go.Binding("location", "loc", go.Point.parse).makeTwoWay(go.Point.stringify),
      $go(go.Picture,
      {
        width: 50, height: 50,
        errorFunction: function(pic, e) {
          pic.diagram.commit(function() {
		   pic.source = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==";
          }, null);  // null means temporarily set skipsUndoManager to true
        }
      },
      new go.Binding("source"),
    )
  );
   // Create the Diagram's Model:
  var nodeDataArray = [
        { key: 1, "source":"dummy.jpg"},
  ];
      
  diagramA.model = new go.GraphLinksModel(nodeDataArray);
  diagramA.model.nodeKeyProperty = "key";
  diagramA.model.linkKeyProperty = "key";


that error is

this maybe related to

Thanks for reporting the error. Sorry for the inconvenience.

Could you please try the go.js or go-debug.js or go-debug-module.js file in https://gojs.net/beta (in the release subdirectory) to see if the problem has gone away. And that there are no other problems?

Thank you walter , the problem is gone.

We have just released 2.1.52, which fixes the issue.