quickpos 1.0.8 → 1.0.9
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.
- package/lib/papara.js +2 -2
- package/package.json +1 -1
package/lib/papara.js
CHANGED
|
@@ -21,9 +21,9 @@ class PaparaClient {
|
|
|
21
21
|
return response;
|
|
22
22
|
}, error => {
|
|
23
23
|
if (error.response) {
|
|
24
|
-
throw new Error(`Papara API error: ${error.response
|
|
24
|
+
throw new Error(`Papara API error: ${error.response}`);
|
|
25
25
|
}
|
|
26
|
-
throw new Error(`Papara API error: ${error
|
|
26
|
+
throw new Error(`Papara API error: ${error}`);
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
|