feature: better error and warn logging for common cases