Hello!
I'm trying to use the Sentry demo that comes with Web Core. I have setup an account at Sentry.io and copied the DSN as told by the Web Core manual like this into WebFormCreate:
WebSentry1.DSN := 'https://82fa0fb0f<...>@o453387.ingest.sentry.io/5442150';
When running the project, the browser shows this JS error:
ERROR
ReferenceError: Sentry is not defined | this.Init@http://localhost:8000/TMSWeb_Sentry
/TMSWeb_Sentry.js:36522:7 this.WebFormCreate@http://localhost:8000/TMSWeb_Sentry
/TMSWeb_Sentry.js:40325:23 cb@http://localhost:8000/TMSWeb_Sentry/TMSWeb_Sentry.js:226:19
this.DoCreate@http://localhost:8000/TMSWeb_Sentry/TMSWeb_Sentry.js:30728:40
this.Create$5@http://localhost:8000/TMSWeb_Sentry/TMSWeb_Sentry.js:31129:12
createClass/c.$create@http://localhost:8000/TMSWeb_Sentry/TMSWeb_Sentry.js:295:19
DoStatusCreate@http://localhost:8000/TMSWeb_Sentry/TMSWeb_Sentry.js:32250:32
at http://localhost:8000/TMSWeb_Sentry/TMSWeb_Sentry.js [36522:7]
And the debugger stopps here:
procedure TSentry.Init;
...
begin
...
TJSSentry.Init(parameters); // <--- Debugger stops here
fInitDone := True;
end;
Using the DSN that comes with the demo also fails.
Is there something wrong with the component?