Skip to content

Commit

Permalink
Pool acquire() error message for wrong user credentials; fix #185
Browse files Browse the repository at this point in the history
  • Loading branch information
bsrdjan committed Nov 18, 2020
1 parent 1abf7b5 commit 54a82b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/wrapper/sapnwrfc-pool.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/wrapper/sapnwrfc-pool.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/ts/wrapper/sapnwrfc-pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export class Pool {
| Array<RfcClientBinding>
) => {
if (err !== undefined) {
reject(err);
return reject(err);
}

if (Array.isArray(clientBindings)) {
Expand Down Expand Up @@ -153,7 +153,7 @@ export class Pool {
clientBindings: RfcClientBinding | Array<RfcClientBinding>
) => {
if (err !== undefined) {
(callback as Function)(err);
return (callback as Function)(err);
}

if (Array.isArray(clientBindings)) {
Expand Down

0 comments on commit 54a82b6

Please sign in to comment.