Showing
1 changed file
with
2 additions
and
0 deletions
... | ... | @@ -670,6 +670,8 @@ export class WidgetSubscription implements IWidgetSubscription { |
670 | 670 | if (!this.executingRpcRequest || rejection.status === 408) { |
671 | 671 | this.rpcRejection = rejection; |
672 | 672 | if (rejection.status === 408) { |
673 | + this.rpcErrorText = 'Request Timeout.'; | |
674 | + } else if (rejection.status === 409) { | |
673 | 675 | this.rpcErrorText = 'Device is offline.'; |
674 | 676 | } else { |
675 | 677 | this.rpcErrorText = 'Error : ' + rejection.status + ' - ' + rejection.statusText; | ... | ... |