HUE-9112 [lib] Avoid unicode decode error in Resource logging

Review Request #14701 — Created Jan. 8, 2020 and submitted

romain
hue
master
HUE-9112
hue
johan, ranade, romain, weixia, yingc
commit ceddb187763f990d4c42b1af78b870fc5129711d
Author: Romain <romain.rigaux@gmail.com>
Date:   Thu Jan 9 06:34:06 2020 +0200

    HUE-9112 [lib] Avoid unicode decode error in Resource logging
    
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 110: ordinal not in range(128)

:100644 100644 e70af85087 3f4f42f01f M	desktop/core/src/desktop/lib/rest/resource.py

CI test run

It is better to replace than fail, as we are already trying to log the request.

johan
  1. Ship It!
  2. 
      
romain
Review request changed

Status: Closed (submitted)

Loading...