diff options
Diffstat (limited to 'app/assets/javascripts/deploy_freeze/store')
-rw-r--r-- | app/assets/javascripts/deploy_freeze/store/actions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/deploy_freeze/store/actions.js b/app/assets/javascripts/deploy_freeze/store/actions.js index a2056165cb2..1ac6781a0e3 100644 --- a/app/assets/javascripts/deploy_freeze/store/actions.js +++ b/app/assets/javascripts/deploy_freeze/store/actions.js @@ -1,5 +1,6 @@ import Api from '~/api'; import createFlash from '~/flash'; +import { logError } from '~/lib/logger'; import { __ } from '~/locale'; import * as types from './mutation_types'; @@ -63,8 +64,7 @@ export const deleteFreezePeriod = ({ state, commit }, { id }) => { }); commit(types.RECEIVE_DELETE_FREEZE_PERIOD_ERROR, id); - // eslint-disable-next-line no-console - console.error('[gitlab] Unable to delete deploy freeze:', e); + logError(`Unable to delete deploy freeze`, e); }); }; |