adjust error message
This commit is contained in:
parent
dc9aa472b1
commit
e393e0f89e
@ -45,9 +45,9 @@ function waitForReport(pubnubConfig, channel) {
|
|||||||
if(report != null) {
|
if(report != null) {
|
||||||
resolve(report);
|
resolve(report);
|
||||||
} else {
|
} else {
|
||||||
reject(new Error('Request timed out'));
|
reject(new Error('Request to avtocod timed out'));
|
||||||
}
|
}
|
||||||
}, 15000);
|
}, 20000);
|
||||||
|
|
||||||
let pubnub = new PubNub(pubnubConfig);
|
let pubnub = new PubNub(pubnubConfig);
|
||||||
pubnub.addListener({
|
pubnub.addListener({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user