Explorar el Código

Added missing error context.

Maciej Bukowski hace 6 años
padre
commit
c64f8bac19
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/ckeditor5-widget/src/widgettoolbarrepository.js

+ 1 - 1
packages/ckeditor5-widget/src/widgettoolbarrepository.js

@@ -126,7 +126,7 @@ export default class WidgetToolbarRepository extends Plugin {
 			 * @error widget-toolbar-duplicated
 			 * @param toolbarId Toolbar id.
 			 */
-			throw new CKEditorError( 'widget-toolbar-duplicated: Toolbar with the given id was already added.', { toolbarId } );
+			throw new CKEditorError( 'widget-toolbar-duplicated: Toolbar with the given id was already added.', this, { toolbarId } );
 		}
 
 		toolbarView.fillFromConfig( items, editor.ui.componentFactory );