Include additional logging for loader error

Allows for better logging of this error case.