Commit ac4ff740 authored by David Hoksza's avatar David Hoksza
Browse files

catch -> error

parent 1a4ce848
Pipeline #7583 passed with stages
in 1 minute and 15 seconds
......@@ -380,7 +380,7 @@ function initDrugBioEntities(){
const promisses = drugNames.map(d =>
queryMinervaApi(`projects/${minervaProxy.project.data.getProjectId()}/drugs:search?query=${d}`)
.catch(error => { return undefined; })
.error(error => { return undefined; })
);
return Promise.all(promisses);
......
Markdown is supported
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