fix(Safari): add conditional logic for line numbers in Safari

Safari does not provide a stack trace for the error object. Hence
the strategy of splitting that stack trace to find line numbers
does not work. For now, log a message stating that line numbers
are unavailable.