@@ -24,7 +24,7 @@ public void onCreated(Item job) {
2424 try {
2525 BrowserStackCredentials browserStackCredentials = QualityDashboardUtil .getBrowserStackCreds ();
2626 if (browserStackCredentials == null ) {
27- LOGGER .info ("BrowserStackCredentials not found. Please ensure they are configured correctly." );
27+ LOGGER .warning ("BrowserStackCredentials not found. Please ensure they are configured correctly." );
2828 return ;
2929 }
3030 QualityDashboardAPIUtil apiUtil = new QualityDashboardAPIUtil ();
@@ -39,7 +39,7 @@ public void onCreated(Item job) {
3939 syncItemListToQD (jsonBody , Constants .QualityDashboardAPI .getItemCrudEndpoint (), "POST" );
4040
4141 } catch (Exception e ) {
42- LOGGER .info ("Error syncing item creation to Quality Dashboard: " + e .getMessage ());
42+ LOGGER .warning ("Error syncing item creation to Quality Dashboard: " + e .getMessage ());
4343 e .printStackTrace ();
4444 }
4545 } else {
@@ -59,7 +59,7 @@ public void onDeleted(Item job) {
5959 String jsonBody = getJsonReqBody (new ItemUpdate (itemName , itemType ));
6060 syncItemListToQD (jsonBody , Constants .QualityDashboardAPI .getItemCrudEndpoint (), "DELETE" );
6161 } catch (Exception e ) {
62- LOGGER .info ("Error syncing item deletion to Quality Dashboard: " + e .getMessage ());
62+ LOGGER .warning ("Error syncing item deletion to Quality Dashboard: " + e .getMessage ());
6363 e .printStackTrace ();
6464 }
6565 }
@@ -75,7 +75,7 @@ public void onRenamed(Item job, String oldName, String newName) {
7575 String jsonBody = getJsonReqBody (new ItemRename (oldName , newName , itemType ));
7676 syncItemListToQD (jsonBody , Constants .QualityDashboardAPI .getItemCrudEndpoint (), "PUT" );
7777 } catch (Exception e ) {
78- LOGGER .info ("Error syncing item rename to Quality Dashboard: " + e .getMessage ());
78+ LOGGER .warning ("Error syncing item rename to Quality Dashboard: " + e .getMessage ());
7979 e .printStackTrace ();
8080 }
8181 }
@@ -92,7 +92,7 @@ private Response syncItemListToQD(String jsonBody, String url, String typeOfRequ
9292 QualityDashboardAPIUtil apiUtil = new QualityDashboardAPIUtil ();
9393 BrowserStackCredentials browserStackCredentials = QualityDashboardUtil .getBrowserStackCreds ();
9494 if (browserStackCredentials == null ) {
95- LOGGER .info ("BrowserStack credentials not found. Please ensure they are configured correctly." );
95+ LOGGER .warning ("BrowserStack credentials not found. Please ensure they are configured correctly." );
9696 return null ;
9797 }
9898 if (typeOfRequest .equals ("PUT" )) {
0 commit comments