Log path on error