File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,8 @@ export function removeSentryQueryFromPath(url: string): string {
44
44
}
45
45
46
46
/**
47
- * Extracts and sanitizes function re-export query parameters from a query string.
48
- * If it is a default export, it is not considered for re-exporting. This function is mostly relevant for re-exporting
49
- * serverless `handler` functions.
47
+ * Extracts and sanitizes function re-export and function wrap query parameters from a query string.
48
+ * If it is a default export, it is not considered for re-exporting.
50
49
*
51
50
* Only exported for testing.
52
51
*/
@@ -83,7 +82,8 @@ export function extractFunctionReexportQueryParameters(query: string): { wrap: s
83
82
84
83
/**
85
84
* Constructs a comma-separated string with all functions that need to be re-exported later from the server entry.
86
- * It uses Rollup's `exportedBindings` to determine the functions to re-export
85
+ * It uses Rollup's `exportedBindings` to determine the functions to re-export. Functions which should be wrapped
86
+ * (e.g. serverless handlers) are wrapped by Sentry.
87
87
*/
88
88
export function constructWrappedFunctionExportQuery (
89
89
exportedBindings : Record < string , string [ ] > | null ,
You can’t perform that action at this time.
0 commit comments