Adding in explicit logging for exceptions

Just to be explicit