Auto merge of #2873 - Turbo87:script-error, r=jtgeibel
Auto merge of #2873 - Turbo87:script-error, r=jtgeibel

services/google-charts: Ensure that `loadScript()` rejects with an `Error` instance

Up until now the function would have rejected with an `Event` instance, which shows up in a non-useful way on Sentry. https://developer.mozilla.org/de/docs/Web/API/HTMLScriptElement suggests to use `event.target.src` instead to convert the event to an `Error` instance.

r? `@jtgeibel`

rust-lang/crates.io,rust-lang/crates.io,rust-lang/crates.io,rust-lang/crates.io