mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-22 09:46:58 +01:00
Fixed for TravisCI
This commit is contained in:
parent
42c037c6ac
commit
ce9e88bac3
@ -76,7 +76,7 @@ export default function baseRequest(url, { jsonBody, query, urlTemplateSpec, ...
|
||||
if (!(res && res.ok)) {
|
||||
const errorObject = {
|
||||
message: 'HTTP Error: Requested page not reachable',
|
||||
status: (res.status) + ' ' + (res.statusText),
|
||||
status: `${res.status} ${res.statusText}`,
|
||||
requestURI: res.url
|
||||
}
|
||||
throw errorObject
|
||||
|
Loading…
Reference in New Issue
Block a user