Skip to content

Commit

Permalink
fix: error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Der-Zauberer committed Aug 3, 2023
1 parent 6913346 commit cd786fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/auth-page/auth-page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class AuthPageComponent implements OnInit {
error => {
if (error.status === HttpStatusCode.Unauthorized) {
this.errorMessage = 'Benutzername wird bereits verwendet.'
} else if (rror.error && error.error.status && error.error.title && error.error.detail) {
} else if (error.error && error.error.status && error.error.title && error.error.detail) {
this.errorMessage = 'Unerwarteter Fehler: ' + error.error.status + ' ' + error.error.title + ' ' + error.error.detail;
} else {
this.errorMessage = 'Unerwarteter Fehler'
Expand Down

0 comments on commit cd786fd

Please sign in to comment.