Add some context to error logs.

In the past, we had some troubles with npm-fullfat-registry occasionally dying on its ass when replicating from skimdb. In some cases, it wasn't immediately clear why something was broken, so I updated a bunch of error cases to include some information about what was actually being done when error was thrown.