I didn't want to assume that logger must exist since I'm not sure if the other sentry methods (e.g. message) require it as well.

68bb1bbd65bc0cbbb35251d810134caacc5695bc