소스 검색

Merge pull request #22 from ckeditor/t/21

Internal: Used err.message instead of err.stack in manual tests. Closes #21.
Piotr Jasiun 7 년 전
부모
커밋
88ba7a7cab
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      packages/ckeditor5-cloud-services/tests/manual/token.js
  2. 1 1
      packages/ckeditor5-cloud-services/tests/manual/token.md

+ 2 - 2
packages/ckeditor5-cloud-services/tests/manual/token.js

@@ -27,8 +27,8 @@ ClassicEditor
 		window.editor = editor;
 	} )
 	.catch( err => {
-		output.innerText = err.stack;
-		console.error( err.stack );
+		output.innerText = err.message;
+		console.error( err.message );
 	} );
 
 function handleRequest( xhr, resolve, reject ) {

+ 1 - 1
packages/ckeditor5-cloud-services/tests/manual/token.md

@@ -19,4 +19,4 @@
 **Expected result**
 * Editor isn't initialized at the start of the scenario.
 * The token is different than the previous token.
-* After clicking the button the editor doesn't initialize and there is an error in the output - `Error: Cannot download new token!`.
+* After clicking the button the editor doesn't initialize and there is an error in the output - `Cannot download new token!`.