Fixed linting errors

refs ac094821c8

- stray console.logs
This commit is contained in:
Kevin Ansfield 2021-06-21 18:15:17 +01:00
parent ac094821c8
commit a8c05f4be7

View File

@ -615,7 +615,6 @@ export default Controller.extend({
captureMessage('Saving post required multiple attempts', {attempts, totalSeconds});
}
} catch (error) {
console.log('caught error', {error});
attempts += 1;
if (isServerUnreachableError(error) && attempts < maxAttempts) {
@ -628,10 +627,8 @@ export default Controller.extend({
}
// simulate a validation error so we don't end up on a 500 screen
console.log('throwing undefined');
throw undefined;
} else {
console.log('throwing error', isServerUnreachableError(error), error);
throw error;
}
}