Ensure errors reach sentry

When given a non string logger, convert it to a string and send this to sentry (with a note saying that we had to convert the logger).