你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 04:56:51 +08:00
Suppress all traceback information - only the exception type and value are printed.
这个提交包含在:
@@ -16,10 +16,12 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with gprMax. If not, see <http://www.gnu.org/licenses/>.
|
# along with gprMax. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
import sys
|
||||||
|
|
||||||
from colorama import init, Fore
|
from colorama import init, Fore
|
||||||
init()
|
init()
|
||||||
|
|
||||||
|
sys.tracebacklimit = None
|
||||||
|
|
||||||
class GeneralError(ValueError):
|
class GeneralError(ValueError):
|
||||||
"""Handles general errors. Subclasses the ValueError class."""
|
"""Handles general errors. Subclasses the ValueError class."""
|
||||||
|
在新工单中引用
屏蔽一个用户