Skip to content

Commit b2822e1

Browse files
committed
Always.
1 parent de96586 commit b2822e1

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

dist/arango.all.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ extend(Connection.prototype, {
583583
method: (opts.method || 'get').toUpperCase(),
584584
body: body
585585
}, function (err, response, rawBody) {
586-
if (err) callback(err);
586+
if (err) callback(err, rawBody, response);
587587
else if (!response.headers['content-type'].match(jsonMime)) callback(null, rawBody, response);
588588
else {
589589
try {

dist/arango.all.min.js

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/arango.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ extend(Connection.prototype, {
583583
method: (opts.method || 'get').toUpperCase(),
584584
body: body
585585
}, function (err, response, rawBody) {
586-
if (err) callback(err);
586+
if (err) callback(err, rawBody, response);
587587
else if (!response.headers['content-type'].match(jsonMime)) callback(null, rawBody, response);
588588
else {
589589
try {

dist/arango.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ extend(Connection.prototype, {
6666
method: (opts.method || 'get').toUpperCase(),
6767
body: body
6868
}, function (err, response, rawBody) {
69-
if (err) callback(err);
69+
if (err) callback(err, rawBody, response);
7070
else if (!response.headers['content-type'].match(jsonMime)) callback(null, rawBody, response);
7171
else {
7272
try {

0 commit comments

Comments
 (0)