NRLMMD-GEOIPS / geoips

Main Geolocated Information Processing System code base with basic functionality enabled.
https://nrlmmd-geoips.github.io/geoips/
Other
14 stars 11 forks source link

log_with_emphasis cannot accept an empty string #469

Closed biosafetylvl5 closed 5 months ago

biosafetylvl5 commented 6 months ago

When calling log_with_emphasis(log, "test", "") an error is thrown. This is a problem if you're logging out a message that ends with "" for any reason, and log_with_emphasis should gracefully deal with this case.

jsolbrig commented 6 months ago

Note that this also fails the current unit tests.