emaint logs: simplify error output handling
2 files changed