Skip to content

Commit 159d90b

Browse files
committed
Improve logging
1 parent 9c67068 commit 159d90b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export class SalesforceClient {
173173
msg,
174174
};
175175
console.error(msg);
176-
console.error(data);
176+
console.error(data.response);
177177
throw new Error(error);
178178
}
179179
return {
@@ -227,7 +227,7 @@ export class SalesforceClient {
227227
msg,
228228
};
229229
console.error(msg);
230-
console.error(data);
230+
console.error(data.response);
231231
throw new Error(error);
232232
}
233233
return {

test/integ/deploy_and_test_apex.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/env bash
22

3+
# Abort the script if any of the commands below is not executed successfully
4+
set -e
5+
36
#
47
# Change events
58
#

0 commit comments

Comments
 (0)