bluejoyq

edit for try catch

...@@ -58,8 +58,9 @@ const cliConnection = async ( req, res ) => { ...@@ -58,8 +58,9 @@ const cliConnection = async ( req, res ) => {
58 return false; 58 return false;
59 } 59 }
60 60
61 - searchData = searchData[ 0 ].concat( searchData[ 1 ] ); 61 +
62 try { 62 try {
63 + searchData = searchData[ 0 ].concat( searchData[ 1 ] );
63 searchData = await machineRead( searchData, analyzeData.keywordText ); 64 searchData = await machineRead( searchData, analyzeData.keywordText );
64 } 65 }
65 catch ( err ) { 66 catch ( err ) {
......