Skip to content

Commit d3f748e

Browse files
augustjohnsonclaude
andcommitted
fix: route traceback output through Django's self.stderr
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2e62a44 commit d3f748e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api_v2/management/commands/compare_srd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def handle(self, *args, **options):
345345
results[etype] = future.result()
346346
except Exception as exc:
347347
self.stderr.write(f" ERROR comparing {etype}: {exc}")
348-
traceback.print_exc()
348+
self.stderr.write(traceback.format_exc())
349349
failed.append(etype)
350350

351351
if failed:

0 commit comments

Comments
 (0)