Skip to content
Snippets Groups Projects
Commit f07df540 authored by leufen1's avatar leufen1
Browse files

enlarge traceback logging

parent 635867fb
No related branches found
No related tags found
6 merge requests!353add developments to release v1.5.0,!352Resolve "release v1.5.0",!343Update wrf with develop,!342Include sample-uncertainty to wrf workflow,!331Resolve "REFAC: do not stop if filter plots fail",!259Draft: Resolve "WRF-Datahandler should inherit from SingleStationDatahandler"
Pipeline #77961 passed
......@@ -7,6 +7,7 @@ import inspect
import logging
import os
import sys
import traceback
from typing import Dict, Tuple, Union, List, Callable
import keras
......@@ -395,7 +396,7 @@ class PostProcessing(RunEnvironment):
sampling=self._sampling, ahead_dim=self.ahead_dim)
except Exception as e:
logging.error(f"Could not create plot PlotTimeSeries due to the following error:\n{sys.exc_info()[0]}\n"
f"{sys.exc_info()[1]}\n{sys.exc_info()[2]}")
f"{sys.exc_info()[1]}\n{sys.exc_info()[2]}\n{traceback.format_exc()}")
try:
if "PlotStationMap" in plot_list:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment