fixed errors

This commit is contained in:
piratefinn 2018-03-20 19:04:05 +00:00
parent db1e3efbf5
commit e8217de9b6
2 changed files with 3 additions and 2 deletions

View file

@ -124,7 +124,7 @@ export class RegisterComponent {
this.registerStatus = 'success';
this.router.navigate(['/dashboard']);
},
error =>
error => {
console.log(error);
try {
this.registerStatusError = '"' + error.error.error + '" Error, ' + error.error.message;