mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-13 13:17:06 +03:00
Log errors
This commit is contained in:
parent
07d02c3304
commit
5fd851a80b
|
@ -240,7 +240,8 @@ export class ModelComparer {
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
showError() {
|
showError(err) {
|
||||||
|
console.error(err);
|
||||||
this.tpl.get('result').style.display = 'none';
|
this.tpl.get('result').style.display = 'none';
|
||||||
this.tpl.get('error').style.display = 'block';
|
this.tpl.get('error').style.display = 'block';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user