1. A log is not enough here. You need to stop the normal flow & report the error to calling layers.
2. This is not a correct npmlog log format. look at other instances of `log.xxxx()` elsewhere in the code