diff --git a/src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js b/src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js index 6559a84596..a6df34f971 100644 --- a/src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js +++ b/src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js @@ -599,7 +599,7 @@ navigator.geolocation.getCurrentPosition( (position) => updateMapState(position.coords.latitude, position.coords.longitude), - (error) => ibexa.helpers.notification.showErrorNotification(error), + (error) => ibexa.helpers.notification.showErrorNotification(error.message), ); }; let locationMarker;