fix some logging invocations
fix some logging invocations

Error messages will be clearer because exceptions won't be nested.
Uses {} formatting instead of % formatting

aknuds1/quamash,Insoleet/quamash,graingert/quamash