Skip to content

Extra new lines appended to errors #76

@JairoRotava

Description

@JairoRotava

I'm using tryLog() with futile.logger and getting two extra lines in the end of each logged error, example:

>
ERROR [2022-10-21 10:46:59] Erro de continuidade de camadas para ID 7204


ERROR [2022-10-21 10:47:00] Erro de continuidade de camadas para ID 7204

> 

These extra lines are not there when processing with regular try(). As I'm logging the errors to a file, it get a lot of empty lines. I believe this is a design option (not a bug) on the function build.log.output wich includes the \n\n at the end of the message.

Is there any way I can remove these extra lines?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions