Skip to content

Commit

Permalink
Fix bad encodig error log
Browse files Browse the repository at this point in the history
  • Loading branch information
avdata99 committed Oct 21, 2024
1 parent a1671c8 commit 765cc75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckanext/datapusher_plus/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,9 @@ def _log_command_error(details, logger, e):
return

command = ' '.join(e.cmd)
output = e.output.decode('utf-8') if e.output else ''
stdout = e.stdout.decode('utf-8') if e.stdout else ''
stderr = e.stderr.decode('utf-8') if e.stderr else ''
output = e.output if e.output else ''
stdout = e.stdout if e.stdout else ''
stderr = e.stderr if e.stderr else ''
returncode = e.returncode

logger.error(
Expand Down

0 comments on commit 765cc75

Please sign in to comment.