Replace console.log
s with console.debug
s
This commit is contained in:
parent
0af31aa8b6
commit
c0276dd253
1 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||||
|
|
Reference in a new issue