! Improve error reporting, remove logging dependencies