[logger] hopefully show err.stack when it's available
fix conflict hopefully