Replace console.logs with console.debugs

This commit is contained in:
Ben Goldsworthy 2021-03-21 14:46:03 +00:00
parent 0af31aa8b6
commit c0276dd253

View file

@ -100,7 +100,7 @@ export class AccountEditComponent implements OnInit {
// data.append('form', JSON.stringify(submitData)); // data.append('form', JSON.stringify(submitData));
console.log(submitData); console.debug(submitData);
this.api this.api
.accountEditUpdate(submitData) .accountEditUpdate(submitData)
.subscribe( .subscribe(
@ -108,8 +108,8 @@ export class AccountEditComponent implements OnInit {
this.submitStatus = 'success'; this.submitStatus = 'success';
}, },
error => { error => {
console.log('Edit Error'); console.error('Edit Error');
console.log(error); console.error(error);
try { try {
this.submitStatusError = '"' + error.error.error + '" Error, ' + error.error.message; this.submitStatusError = '"' + error.error.error + '" Error, ' + error.error.message;
} catch (e) { } catch (e) {