Custom error hook not working in client-snippet (rollbar) I have a hook called logError in my React code that reports to rollbar with rollbar.error.