Timeout request is null
This commit is contained in:
parent
5343cb8fca
commit
fa4a4a0ea8
|
@ -214,7 +214,7 @@ class Connection {
|
|||
} on TimeoutException catch (_) {
|
||||
|
||||
return ErrorResponse(
|
||||
error: "No connection possible...", errcode: "TIMEOUT", request: resp.request);
|
||||
error: "No connection possible...", errcode: "TIMEOUT", request: resp?.request);
|
||||
} catch (e) {
|
||||
return ErrorResponse(
|
||||
error: "No connection possible...", errcode: "NO_CONNECTION", request: resp.request);
|
||||
|
|
Loading…
Reference in a new issue