function recordExceptionOnSpan({ errorMessage }, cb) {
  const active = trace.getActiveSpan()
  const errorEvent = {
    name: 'exception',
    attributes: {
      'exception.message': errorMessage
    }
  }
  active.status.code = 2
  active.addEvent('exception', errorEvent.attributes)
  cb()
}
Adds an exception on the active span

@param {object} params to function
@param {string} params.errorMessage message to set on exception
@param {function} cb function to call after exception is recorded on on active span