prowler icon indicating copy to clipboard operation
prowler copied to clipboard

fix(dashboard): Handle encoding errors

Open pedrooot opened this issue 10 months ago • 1 comments

Description

Errors related with encoding are solved, new logic for encoding can be found in config.py file from dashboard.

Logic: for windows os, when installing Prowler from pip it is needed to use encoding cp1252 but when using it with python prowler.py dashboard needs to use encoding utf-8

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

pedrooot avatar Apr 24 '24 09:04 pedrooot

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.51%. Comparing base (23df599) to head (d5d8572). Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3847      +/-   ##
==========================================
+ Coverage   85.49%   85.51%   +0.01%     
==========================================
  Files         737      737              
  Lines       22779    22780       +1     
==========================================
+ Hits        19476    19481       +5     
+ Misses       3303     3299       -4     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Apr 24 '24 09:04 codecov[bot]