Internal error reporter #211

Merged
meggert merged 4 commits from internal-error-reporter into main 2023-06-28 13:16:38 +02:00
3 changed files with 5 additions and 2 deletions
Showing only changes of commit 9c5d6a15db - Show all commits

View File

@ -11,4 +11,4 @@ VERSION_REVISION = 0
EIVE_TMTC_ROOT = Path(__file__).parent
PACKAGE_ROOT = EIVE_TMTC_ROOT.parent
APP_LOGGER = logging.getLogger(__name__)
APP_LOGGER = logging.getLogger()

View File

@ -73,7 +73,9 @@ def handle_hk_packet(
hk_data=hk_data,
)
try:
if HK_OUTPUT_LEVEL > 0:
if HK_OUTPUT_LEVEL == 1:
pass
elif HK_OUTPUT_LEVEL > 1:
handle_regular_hk_print(
printer=printer,
object_id=named_obj_id,

View File

@ -35,6 +35,7 @@ def pus_factory_hook( # noqa C901 : Complexity okay here
return
try:
tm_packet = PusTelemetry.unpack(packet, CdsShortTimestamp.empty())
# _LOGGER.info(f"Sequence count: {tm_packet.seq_count}")
except ValueError as value_error:
_LOGGER.warning(f"{value_error}")
_LOGGER.warning("Could not generate PUS TM object from raw data")