@@ -53,7 +53,6 @@ public void testSendSMSCode() {
5353 } catch (APIConnectionException e ) {
5454 LOG .error ("Connection error. Should retry later. " , e );
5555 } catch (APIRequestException e ) {
56- e .printStackTrace ();
5756 LOG .error ("Error response from JPush server. Should review and fix it. " , e );
5857 LOG .info ("HTTP Status: " + e .getStatus ());
5958 LOG .info ("Error Message: " + e .getMessage ());
@@ -173,7 +172,6 @@ public void testSendValidSMSCode() {
173172 } catch (APIConnectionException e ) {
174173 LOG .error ("Connection error. Should retry later. " , e );
175174 } catch (APIRequestException e ) {
176- e .printStackTrace ();
177175 LOG .error ("Error response from JPush server. Should review and fix it. " , e );
178176 LOG .info ("HTTP Status: " + e .getStatus ());
179177 LOG .info ("Error Message: " + e .getMessage ());
@@ -187,7 +185,6 @@ public void testSendValidSMSCode_InvalidCode1() {
187185 } catch (APIConnectionException e ) {
188186 LOG .error ("Connection error. Should retry later. " , e );
189187 } catch (APIRequestException e ) {
190- e .printStackTrace ();
191188 LOG .error ("Error response from JPush server. Should review and fix it. " , e );
192189 LOG .info ("HTTP Status: " + e .getStatus ());
193190 LOG .info ("Error Message: " + e .getMessage ());
@@ -201,7 +198,6 @@ public void testSendValidSMSCode_InvalidCode2() {
201198 } catch (APIConnectionException e ) {
202199 LOG .error ("Connection error. Should retry later. " , e );
203200 } catch (APIRequestException e ) {
204- e .printStackTrace ();
205201 LOG .error ("Error response from JPush server. Should review and fix it. " , e );
206202 LOG .info ("HTTP Status: " + e .getStatus ());
207203 LOG .info ("Error Message: " + e .getMessage ());
@@ -215,7 +211,6 @@ public void testSendValidSMSCode_InvalidCode3() {
215211 } catch (APIConnectionException e ) {
216212 LOG .error ("Connection error. Should retry later. " , e );
217213 } catch (APIRequestException e ) {
218- e .printStackTrace ();
219214 LOG .error ("Error response from JPush server. Should review and fix it. " , e );
220215 LOG .info ("HTTP Status: " + e .getStatus ());
221216 LOG .info ("Error Message: " + e .getMessage ());
0 commit comments