Sfoglia il codice sorgente

Print traceback on ImportError in get_app_commands (#3833)

version-14
Aditya Hase 8 anni fa
committed by Rushabh Mehta
parent
commit
b4b889835a
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      frappe/utils/bench_helper.py

+ 2
- 0
frappe/utils/bench_helper.py Vedi File

@@ -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 = {}


Caricamento…
Annulla
Salva