mirror of
https://github.com/basicswap/basicswap.git
synced 2024-11-16 15:58:17 +00:00
Add debug msg
This commit is contained in:
parent
815e54ea69
commit
d91b869759
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,8 @@ def page_unlock(self, url_split, post_string):
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
return bytes()
|
return bytes()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
if swap_client.debug is True:
|
||||||
|
swap_client.log.error(str(e))
|
||||||
err_messages.append(str(e))
|
err_messages.append(str(e))
|
||||||
|
|
||||||
template = server.env.get_template('unlock.html')
|
template = server.env.get_template('unlock.html')
|
||||||
|
|
Loading…
Reference in a new issue