diff --git a/client/web/admin/src/mixins/toast.js b/client/web/admin/src/mixins/toast.js index 82cb7bc41..e8c09cc5d 100644 --- a/client/web/admin/src/mixins/toast.js +++ b/client/web/admin/src/mixins/toast.js @@ -36,8 +36,6 @@ export default { const { prefix, title } = opt return (err = {}) => { - /* eslint-disable no-console */ - console.error(err) const msg = err.message ? (prefix + ': ' + err.message) : prefix this.toastDanger(msg, title) } diff --git a/client/web/compose/src/components/ModuleFields/Configurator/Configurator.c3.js b/client/web/compose/src/components/ModuleFields/Configurator/Configurator.c3.js index 7dd08b7e6..473cefdeb 100644 --- a/client/web/compose/src/components/ModuleFields/Configurator/Configurator.c3.js +++ b/client/web/compose/src/components/ModuleFields/Configurator/Configurator.c3.js @@ -2,7 +2,6 @@ import { compose } from '@cortezaproject/corteza-js' import * as fieldTypes from './loader' -console.error({ ...fieldTypes }) const props = { namespace: new compose.Namespace(), module: new compose.Module(), diff --git a/client/web/compose/src/components/ModuleFields/Editor/Bool.c3.js b/client/web/compose/src/components/ModuleFields/Editor/Bool.c3.js index 82cb714d1..bb77611d5 100644 --- a/client/web/compose/src/components/ModuleFields/Editor/Bool.c3.js +++ b/client/web/compose/src/components/ModuleFields/Editor/Bool.c3.js @@ -3,7 +3,6 @@ import { default as component } from './Bool.vue' import { compose } from '@cortezaproject/corteza-js' import * as fieldTypes from './loader' -console.log(fieldTypes) // const namespace = ({ // canCreateChart: true, // canCreateModule: true, diff --git a/client/web/compose/src/components/Namespaces/Importer/index.vue b/client/web/compose/src/components/Namespaces/Importer/index.vue index 590916be7..866bdc0ac 100644 --- a/client/web/compose/src/components/Namespaces/Importer/index.vue +++ b/client/web/compose/src/components/Namespaces/Importer/index.vue @@ -94,11 +94,9 @@ export default { name: e.name, slug: e.slug, }) - console.log({ out }) this.$emit('imported', out) } catch (err) { - console.error(err) this.$emit('failed', err) } diff --git a/client/web/compose/src/mixins/record.js b/client/web/compose/src/mixins/record.js index ba6ed231b..58661c57a 100644 --- a/client/web/compose/src/mixins/record.js +++ b/client/web/compose/src/mixins/record.js @@ -138,8 +138,6 @@ export default { this.errors = new validator.Validated() this.errors.push(...details) - console.debug(this.errors) - throw new Error(this.$t('notification:record.validationErrors')) } @@ -196,8 +194,6 @@ export default { if (!!details && Array.isArray(details) && details.length > 0) { this.errors.push(...details) - console.debug(this.errors) - throw new Error(this.$t('notification:record.validationErrors')) } @@ -305,7 +301,6 @@ export default { await this.dispatchUiEvent('onFormSubmitError') vRunner() if (!this.errors.valid()) { - console.debug(this.errors) throw new Error(this.$t('notification:record.validationErrors')) } }, @@ -325,7 +320,6 @@ export default { this.errors = this.validator.run(this.record) if (!this.errors.valid()) { - console.debug(this.errors) throw new Error(this.$t('notification:record.validationErrors')) } }, diff --git a/client/web/compose/src/mixins/toast.js b/client/web/compose/src/mixins/toast.js index 9957f5f22..0ac0bda6d 100644 --- a/client/web/compose/src/mixins/toast.js +++ b/client/web/compose/src/mixins/toast.js @@ -40,8 +40,6 @@ export default { if (err.message && err.message.startsWith('notification')) { err.message = this.$t(`notification:${err.message.substring('notification.'.length)}`) } - /* eslint-disable no-console */ - console.error(err) // all other messages should be shown as they are const msg = err.message ? `${prefix}: ${err.message}` : prefix this.toastDanger(msg, title) diff --git a/client/web/discovery/src/mixins/toast.js b/client/web/discovery/src/mixins/toast.js index 6c0e1cb88..362f81fd9 100644 --- a/client/web/discovery/src/mixins/toast.js +++ b/client/web/discovery/src/mixins/toast.js @@ -36,8 +36,6 @@ export default { const { prefix, title } = opt return (err = {}) => { - /* eslint-disable no-console */ - console.error(err) const msg = err.message ? (prefix + ': ' + this.$t(err.message)) : prefix this.toastDanger(msg, title) } diff --git a/client/web/privacy/src/mixins/toast.js b/client/web/privacy/src/mixins/toast.js index 5629d32c7..e29feb615 100644 --- a/client/web/privacy/src/mixins/toast.js +++ b/client/web/privacy/src/mixins/toast.js @@ -40,8 +40,6 @@ export default { if (err.message && err.message.startsWith('notification')) { err.message = this.$t(`notification:${err.message.substring('notification.'.length)}`) } - /* eslint-disable no-console */ - console.error(err) // all other messages should be shown as they are const msg = err.message ? `${prefix}: ${err.message}` : prefix this.toastDanger(msg, title) diff --git a/client/web/reporter/src/mixins/toast.js b/client/web/reporter/src/mixins/toast.js index 6c0e1cb88..362f81fd9 100644 --- a/client/web/reporter/src/mixins/toast.js +++ b/client/web/reporter/src/mixins/toast.js @@ -36,8 +36,6 @@ export default { const { prefix, title } = opt return (err = {}) => { - /* eslint-disable no-console */ - console.error(err) const msg = err.message ? (prefix + ': ' + this.$t(err.message)) : prefix this.toastDanger(msg, title) } diff --git a/client/web/workflow/src/mixins/toast.js b/client/web/workflow/src/mixins/toast.js index cbb574e32..adc407603 100644 --- a/client/web/workflow/src/mixins/toast.js +++ b/client/web/workflow/src/mixins/toast.js @@ -28,8 +28,6 @@ export default { const { prefix, title } = opt return (err = {}) => { - /* eslint-disable no-console */ - console.error(err) const msg = err.message ? (prefix + ': ' + err.message) : prefix this.toastDanger(msg, title) }