浏览代码

Fixed guide docs.

Maciej Bukowski 5 年之前
父节点
当前提交
1499243267
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/ckeditor5-watchdog/docs/features/watchdog.md

+ 2 - 2
packages/ckeditor5-watchdog/docs/features/watchdog.md

@@ -300,7 +300,7 @@ watchdog.on( 'error', ( evt, { error } ) => {
 	console.log( 'The context crashed.' );
 } );
 
-// The `restart` event is fired when the context is set back to the `ready` state (after it was in `error` state).
+// The `restart` event is fired when the context is set back to the `ready` state (after it was in `crashed` state).
 // Similarly, this event is not thrown for internal item restarts.
 watchdog.on( 'restart', () => {
 	console.log( 'The context has been restarted.' );
@@ -311,7 +311,7 @@ watchdog.on( 'itemError', ( evt, { error, itemId } ) => {
 	console.log( `An error occurred in an item with the '${ itemId }' id.` );
 } );
 
-// The `itemRestart` event is fired when an item is set back to the `ready` state (after it was in `error` state).
+// The `itemRestart` event is fired when an item is set back to the `ready` state (after it was in `crashed` state).
 watchdog.on( 'itemRestart', ( evt, { itemId } ) => {
 	console.log( 'An item with '${ itemId }' id has been restarted.' );
 } );