Add test to chek we still send events when errored map static tile
This commit is contained in:
@@ -78,7 +78,7 @@ function getResponseTime (res) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
return stats.total.toString();
|
||||
return stats && stats.total ? stats.total.toString() : undefined;
|
||||
}
|
||||
|
||||
function getFromReq (req, { query = {}, body = {}, params = {}, headers = {} } = {}) {
|
||||
|
||||
Reference in New Issue
Block a user