Skip to content

referrer-policy test time outs due to missing catch #1960

@franziskuskiefer

Description

@franziskuskiefer

Loads like queryFetch should catch errors to avoid timeouts and display a comprehensible error message instead. So something like

fetch(url).then(function(response) {
  response.json().then(function(server_data) {
    callback(wrapResult(url, server_data), url);
  });
}).catch(callback("something went wrong", url));

and handle this later

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions