chore: add logging for the param

This commit is contained in:
Paweł Lidwin 2026-04-13 13:22:52 +02:00
parent 408fcce78b
commit 89cd4863a4
No known key found for this signature in database
GPG key ID: C6EDF064F9FEE1E1

View file

@ -83,6 +83,8 @@ class MockLauncher:
webbrowser.open(url)
def set_exchange_code(self, exchange_code, param):
if param:
logger.warning(f'Unknown parameter provided: {param}. Please report it on GitHub')
self.inject_js = False
logger.debug('Got exchange code (stage 1)!')
# The default Windows webview retains cookies, GTK/Qt do not. Therefore we can