Skip to content

Commit 5f6ff9b

Browse files
authored
Merge pull request #1720 from PipedreamHQ/google-sheets-better-error
Fixing error logging for Google Sheets actions
2 parents 65e3434 + 25229ab commit 5f6ff9b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

components/google_sheets/actions/add-multiple-rows/add-multiple-rows.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
key: "google_sheets-add-multiple-rows",
55
name: "Add Multiple Rows",
66
description: "Add multiple rows of data to a Google Sheet",
7-
version: "0.1.0",
7+
version: "0.1.1",
88
type: "action",
99
props: {
1010
googleSheets,

components/google_sheets/actions/add-single-row/add-single-row.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
key: "google_sheets-add-single-row",
55
name: "Add Single Row",
66
description: "Add a single row of data to Google Sheets",
7-
version: "0.1.0",
7+
version: "0.1.1",
88
type: "action",
99
props: {
1010
googleSheets,

components/google_sheets/google_sheets.app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ module.exports = {
213213
},
214214
});
215215
if (resp.status >= 400) {
216-
throw new Error(resp.data);
216+
throw new Error(JSON.stringify(resp.data));
217217
}
218218
return resp.data.updates;
219219
},

0 commit comments

Comments
 (0)