diff --git a/plugins/eddn.py b/plugins/eddn.py index 194a52de..e532c8a8 100644 --- a/plugins/eddn.py +++ b/plugins/eddn.py @@ -87,6 +87,7 @@ HORIZ_SKU = 'ELITE_HORIZONS_V_PLANETARY_LANDINGS' class EDDN: """EDDN Data export.""" + DEBUG = 'eddn' in debug_senders SERVER = 'https://eddn.edcd.io:4430' if DEBUG: @@ -193,7 +194,7 @@ class EDDN: and msg['message']['commodities'] == [] and r.text == "FAIL: []" ): - logger.trace("EDDN is still objecting to empty commodities data") + logger.trace_if('plugin.eddn', "EDDN is still objecting to empty commodities data") return # We want to silence warnings otherwise logger.debug(