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