Would be good to log an actual `Error` object with this so we have a stack trace in the log