From 972f3cf91d3d65022ac61ab6cd0e050227d34d0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=81=A5=E8=BE=89?= Date: Tue, 23 Apr 2019 10:55:00 +0800 Subject: [PATCH] modify error describe --- frontend/src/file-history-old.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/file-history-old.js b/frontend/src/file-history-old.js index 01eb41c15f..df8a42e317 100644 --- a/frontend/src/file-history-old.js +++ b/frontend/src/file-history-old.js @@ -48,7 +48,7 @@ class FileHistory extends React.Component { let historyData = res.data; if (!historyData) { this.setState({isLoading: false}); - throw Error('there has an error in server'); + throw Error('There is an error in server.'); } this.initResultState(res.data); }); @@ -59,7 +59,7 @@ class FileHistory extends React.Component { let historyData = res.data; if (!historyData) { this.setState({isLoading: false}); - throw Error('there has an error in server'); + throw Error('There is an error in server.'); } this.initResultState(res.data); });