mirror of
https://github.com/tiennm99/store-scraper-api.git
synced 2026-05-27 16:24:15 +00:00
feat(logs): add debug error log
This commit is contained in:
@@ -73,6 +73,7 @@ export default {
|
||||
);
|
||||
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
return Response.json(
|
||||
{ error: error.message },
|
||||
{ status: 500 }
|
||||
|
||||
@@ -5,15 +5,3 @@ compatibility_flags = ["nodejs_compat", "enable_nodejs_http_modules"]
|
||||
|
||||
[observability]
|
||||
enabled = true
|
||||
head_sampling_rate = 1
|
||||
|
||||
[observability.logs]
|
||||
enabled = true
|
||||
head_sampling_rate = 1
|
||||
persist = true
|
||||
invocation_logs = true
|
||||
|
||||
[observability.traces]
|
||||
enabled = true
|
||||
persist = true
|
||||
head_sampling_rate = 1
|
||||
|
||||
Reference in New Issue
Block a user