Skip to content

Commit 7240e10

Browse files
Abhijit LAbhijit L
authored andcommitted
fix: review comments
1 parent 1348a1d commit 7240e10

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

plugins/javelin/lang_detector.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ export const handler: PluginHandler = async (
146146
}
147147
}
148148
} catch (e: any) {
149-
delete e.stack;
150149
error = e;
151150
}
152151

plugins/javelin/promptinjectiondetection.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ export const handler: PluginHandler = async (
144144
};
145145
}
146146
} catch (e: any) {
147-
delete e.stack;
148147
error = e;
149148
}
150149

plugins/javelin/trustsafety.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ export const handler: PluginHandler = async (
136136
};
137137
}
138138
} catch (e: any) {
139-
delete e.stack;
140139
error = e;
141140
}
142141

0 commit comments

Comments
 (0)