Skip to content

Commit cadc785

Browse files
Merge pull request #30 from GitTimeraider/alert-autofix-2
Potential fix for code scanning alert no. 2: Information exposure through an exception
2 parents 15d0ecd + 89a35c1 commit cadc785

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/main.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ def get_forwarders():
135135
traceback.print_exc()
136136
return jsonify({
137137
'error': 'Failed to fetch forwarders',
138-
'details': str(e),
139138
'forwarders': []
140139
}), 500
141140

0 commit comments

Comments
 (0)