Skip to content

Commit d5a8b67

Browse files
committed
chore: remove filterSensitiveLog for service exceptions
1 parent 0ee77af commit d5a8b67

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/StructureGenerator.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,6 @@ private void renderNonErrorStructure() {
168168
* $fault: "client";
169169
* resourceType: string | undefined;
170170
* }
171-
*
172-
* export namespace NoSuchResource {
173-
* export const filterSensitiveLog = (obj: NoSuchResource): any => ({...obj});
174-
* }
175171
* }</pre>
176172
*/
177173
private void renderErrorStructure() {
@@ -197,7 +193,6 @@ private void renderErrorStructure() {
197193
structuredMemberWriter.writeMembers(writer, shape);
198194
writer.closeBlock("}"); // interface
199195
writer.write("");
200-
renderStructureNamespace(structuredMemberWriter, false);
201196
}
202197

203198
private void renderStructureNamespace(StructuredMemberWriter structuredMemberWriter, boolean includeValidation) {

0 commit comments

Comments
 (0)