Explorar el Código

Print traceback on ImportError in get_app_commands (#3833)

version-14
Aditya Hase hace 8 años
committed by Rushabh Mehta
padre
commit
b4b889835a
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      frappe/utils/bench_helper.py

+ 2
- 0
frappe/utils/bench_helper.py Ver fichero

@@ -5,6 +5,7 @@ import os
import json
import importlib
import frappe.utils
import traceback

click.disable_unicode_literals_warning = True

@@ -62,6 +63,7 @@ def get_app_commands(app):
try:
app_command_module = importlib.import_module(app + '.commands')
except ImportError:
traceback.print_exc()
return []

ret = {}


Cargando…
Cancelar
Guardar