Skip to content

Commit eef34c9

Browse files
authored
Merge pull request #6 from loganvolkers/patch-1
Better log message
2 parents 8cc4de6 + 9a91a07 commit eef34c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/proxy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module.exports = function(options) {
4343
}
4444
var sfEndpoint = req.headers["salesforceproxy-endpoint"];
4545
if (!SF_ENDPOINT_REGEXP.test(sfEndpoint)) {
46-
res.send(400, "Proxying endpoint is not allowed.");
46+
res.send(400, "Proxying endpoint is not allowed. `salesforceproxy-endpoint` header must be a valid Salesforce domain: " + sfEndpoint);
4747
return;
4848
}
4949
var headers = {};

0 commit comments

Comments
 (0)