Improves error reporting (log instead of echo)