mirror of
https://github.com/sartography/spiffworkflow-frontend.git
synced 2025-02-24 12:18:17 +00:00
use error instead of log for printing errors to the console w/ burnettk
This commit is contained in:
parent
2352e0376c
commit
b9812b99cf
@ -88,7 +88,7 @@ backendCallProps) => {
|
||||
if (failureCallback) {
|
||||
failureCallback(message);
|
||||
} else {
|
||||
console.log(message);
|
||||
console.error(message);
|
||||
}
|
||||
}
|
||||
})
|
||||
@ -97,7 +97,7 @@ backendCallProps) => {
|
||||
if (failureCallback) {
|
||||
failureCallback(error.message);
|
||||
} else {
|
||||
console.log(error.message);
|
||||
console.error(error.message);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user