No stack trace in Real time logs with upload_source_maps = true

I'm getting an error that looks like this, with no stack traces. I've set upload source maps to true in my wrangler.toml file. What else can be done? Sveltekit on cloudflare pages & workers. Using adapter cloudflare.
{
"truncated": false,
"executionModel": "stateless",
"outcome": "ok",
"scriptVersion": {
"id":redacted
},
"scriptName": "pages-worker--redacted-preview",
"diagnosticsChannelEvents": [],
"exceptions": [],
"logs": [
{
"message": [
{
redacted
}
],
"level": "log",
"timestamp": 1740572330174
},
{
"message": [
"ReferenceError: process is not defined"
],
"level": "error",
"timestamp": 1740572330174
},
{
"message": [
"ReferenceError: process is not defined"
],
"level": "error",
"timestamp": 1740572330174
}
],
"eventTimestamp": redacted
"event": {
"request": {
"url": "https://redacted.pages.dev/",
"method": "GET",
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-encoding": "gzip, br",
"accept-language": "en,en-US;q=0.9,sv-SE;q=0.8,sv;q=0.7,zh-CN;q=0.6,zh;q=0.5,la;q=0.4",
"cache-control": "max-age=0",
"cf-connecting-ip": redacted
"cf-ipcountry"redacted
"cf-ray": redacted,
"cf-visitor": "{\"scheme\":\"https\"}",
"connection": "Keep-Alive",
"host": "redacted.pages.dev",
"priority": "u=0, i",
"referer": "https://github.com/",
"sec-ch-ua": "\"Not(A:Brand\";v=\"99\", \"Google Chrome\";v=\"133\", \"Chromium\";v=\"133\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "document",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "cross-site",
"sec-fetch-user": "?1",
"upgrade-insecure-requests": "1",
"user-agent":redacted
"x-forwarded-proto": "https",
"x-real-ip": redacted
},
"cf": {
"requestHeaderNames": {},
"httpProtocol": "HTTP/3",
"tlsCipher": "AEAD-AES128-GCM-SHA256",
"continent": "EU",
"asn": 2119,
"clientAcceptEncoding": "gzip, deflate, br, zstd",
"country":redacted
"isEUCountry": "1",
"verifiedBotCategory": "",
"requestPriority": "",
"tlsClientAuth": redacted
tSHA1": ""
},
"tlsClientExtensionsSha1": "redacted
"tlsExportedAuthenticator":redacted,
"tlsVersion": "TLSv1.3",
"colo": "redacted
"timezone": "redacted
"region": redacted
"longitude":redacted,
"edgeRequestKeepAliveStatus": 1,
"tlsClientRandom": redacted,
"latitude": redacted",
"postalCode": "redacted,
"city": "Solna",
"regionCode": redacted,
"asOrganization": redacted,
"tlsClientHelloLength": "1761",
"pagesHostName": redacted,
"botManagement": {
"corporateProxy": false,
"verifiedBot": false,
"jsDetection": {
"passed": false
},
"staticResource": false,
"detectionIds": {},
"score": 99
}
}
},
"response": {
"status": 500
}
},
"id": 0
}
{
"truncated": false,
"executionModel": "stateless",
"outcome": "ok",
"scriptVersion": {
"id":redacted
},
"scriptName": "pages-worker--redacted-preview",
"diagnosticsChannelEvents": [],
"exceptions": [],
"logs": [
{
"message": [
{
redacted
}
],
"level": "log",
"timestamp": 1740572330174
},
{
"message": [
"ReferenceError: process is not defined"
],
"level": "error",
"timestamp": 1740572330174
},
{
"message": [
"ReferenceError: process is not defined"
],
"level": "error",
"timestamp": 1740572330174
}
],
"eventTimestamp": redacted
"event": {
"request": {
"url": "https://redacted.pages.dev/",
"method": "GET",
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-encoding": "gzip, br",
"accept-language": "en,en-US;q=0.9,sv-SE;q=0.8,sv;q=0.7,zh-CN;q=0.6,zh;q=0.5,la;q=0.4",
"cache-control": "max-age=0",
"cf-connecting-ip": redacted
"cf-ipcountry"redacted
"cf-ray": redacted,
"cf-visitor": "{\"scheme\":\"https\"}",
"connection": "Keep-Alive",
"host": "redacted.pages.dev",
"priority": "u=0, i",
"referer": "https://github.com/",
"sec-ch-ua": "\"Not(A:Brand\";v=\"99\", \"Google Chrome\";v=\"133\", \"Chromium\";v=\"133\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "document",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "cross-site",
"sec-fetch-user": "?1",
"upgrade-insecure-requests": "1",
"user-agent":redacted
"x-forwarded-proto": "https",
"x-real-ip": redacted
},
"cf": {
"requestHeaderNames": {},
"httpProtocol": "HTTP/3",
"tlsCipher": "AEAD-AES128-GCM-SHA256",
"continent": "EU",
"asn": 2119,
"clientAcceptEncoding": "gzip, deflate, br, zstd",
"country":redacted
"isEUCountry": "1",
"verifiedBotCategory": "",
"requestPriority": "",
"tlsClientAuth": redacted
tSHA1": ""
},
"tlsClientExtensionsSha1": "redacted
"tlsExportedAuthenticator":redacted,
"tlsVersion": "TLSv1.3",
"colo": "redacted
"timezone": "redacted
"region": redacted
"longitude":redacted,
"edgeRequestKeepAliveStatus": 1,
"tlsClientRandom": redacted,
"latitude": redacted",
"postalCode": "redacted,
"city": "Solna",
"regionCode": redacted,
"asOrganization": redacted,
"tlsClientHelloLength": "1761",
"pagesHostName": redacted,
"botManagement": {
"corporateProxy": false,
"verifiedBot": false,
"jsDetection": {
"passed": false
},
"staticResource": false,
"detectionIds": {},
"score": 99
}
}
},
"response": {
"status": 500
}
},
"id": 0
}
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?