froth-webdriverio-framework 3.0.59 → 3.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ async function callapi(method, api_url, queryParams, payloaddetails, authenticat
8
8
  }
9
9
  console.log("URL: " + api_url);
10
10
  let formData = new FormData();
11
- console.log("Payload Details: before if loop", JSON.stringify(payloaddetails));
11
+ // console.log("Payload Details: before if loop", JSON.stringify(payloaddetails));
12
12
 
13
13
  if (payloaddetails && Object.keys(payloaddetails).length > 0) {
14
14
  console.log("Payload Details:", JSON.stringify(payloaddetails));
@@ -95,7 +95,7 @@ async function validate(attribute_name, attribute, actionname, buffer, buffernam
95
95
  }
96
96
  } catch (e) {
97
97
  console.error('Error in validate method:', e);
98
-
98
+ throw e;
99
99
  }
100
100
  }
101
101
 
@@ -129,6 +129,8 @@ async function validateAttributeData(attribute_name, attribute, buffer, bufferna
129
129
 
130
130
  if (process.env.BROWSERSTACK)
131
131
  await amendToBrowserstack(annotationMessage, "error");
132
+
133
+ throw e;
132
134
  }
133
135
  }
134
136
  // async function amendToBrowserstack(annotationMessage, level) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "3.0.59",
3
+ "version": "3.0.60",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",