Commit 8ef5a523 authored by Tobias Steiner's avatar Tobias Steiner
Browse files

Add some debug flags.

parent c93ac521
Pipeline #3110 passed with stage
in 2 minutes and 50 seconds
......@@ -61,7 +61,8 @@ export class ResponseCollector {
const provider = await UrlResolver.getProvider(d, this.language);
a[provider] = d;
return a;
} catch {
} catch(error) {
console.log(`error getting provider` + error);
a['unknown'] = d;
return a;
}
......
......@@ -14,7 +14,7 @@ class UrlResolver {
const provider = await axios.get(UrlResolver.baseUrl + url);
return provider.data.name[language];
} catch(err) {
console.log(err);
console.log(`Could not resolve url ${url}`, err);
return 'unknown';
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment