Skip to content

Commit b1bf504

Browse files
committed
fix: improve error message
1 parent e75cce5 commit b1bf504

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,8 @@ export class Loader {
473473
private execute(): void {
474474
if (window.google && window.google.maps && window.google.maps.version) {
475475
console.warn(
476-
"Aborted attempt to load Google Maps JS with @googlemaps/js-api-loader." +
477-
"This may result in undesirable behavior as script parameters may not match."
476+
"Google Maps already loaded outside @googlemaps/js-api-loader." +
477+
"This may result in undesirable behavior as options and script parameters may not match."
478478
);
479479
this.callback();
480480
}

0 commit comments

Comments
 (0)