Log errors

This commit is contained in:
ines 2017-11-01 01:46:50 +01:00
parent 07d02c3304
commit 5fd851a80b

View File

@ -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';
}