diff --git a/app/controllers/admin/imports_controller.rb b/app/controllers/admin/imports_controller.rb index c611ce23..ab717bf1 100644 --- a/app/controllers/admin/imports_controller.rb +++ b/app/controllers/admin/imports_controller.rb @@ -34,7 +34,7 @@ module Admin rescue Exception => e logger.error "[Locomotive import] #{e.message} / #{e.backtrace}" - @error = t('errors.messages.invalid_theme_file') + @error = e.message flash[:alert] = t('flash.admin.imports.create.alert') render 'new'