Skip to content

Commit

Permalink
# 511 make logging context conform to json standard
Browse files Browse the repository at this point in the history
* Provide logging context like in json standard

* Provide logging context like in json standard

* Provide logging context like in json standard

Co-authored-by: rozhkovdmitrii <[email protected]>
  • Loading branch information
rozhkovdmitrii and rozhkovdmitrii authored Jan 28, 2022
1 parent 6b0d1c4 commit 1c7346b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proxy/environment.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import json
import os
import subprocess
from logged_groups import logged_group, LogMng
Expand Down Expand Up @@ -89,7 +90,7 @@ def read_sol_account(name) -> Optional[sol_Account]:
class neon_cli:
def call(self, *args):
try:
ctx = str(LogMng.get_logging_context())
ctx = json.dumps(LogMng.get_logging_context())
cmd = ["neon-cli",
"--commitment=recent",
"--url", SOLANA_URL,
Expand Down

0 comments on commit 1c7346b

Please sign in to comment.