diff --git a/app/controllers/public/index.js b/app/controllers/public/index.js index 4d1433763b3..513bbd8908c 100644 --- a/app/controllers/public/index.js +++ b/app/controllers/public/index.js @@ -121,7 +121,11 @@ export default class IndexController extends Controller { this.notify.success(this.l10n.t(`Order details saved. Please fill further details within ${this.settings.orderExpiryTime} minutes.`)); this.transitionToRoute('orders.new', order.data.attributes.identifier); } catch (e) { - console.error('Error while saving order', e); + if (e.response?.errors[0]?.source?.code === 'unverified-user') { + console.warn('Unverified user placing order', e.response); + } else { + console.error('Error while saving order', e); + } this.notify.error(this.l10n.t(e.response.errors[0].detail)); } finally { this.set('isLoading', false);