Skip to content

Commit 15d0ecd

Browse files
Merge pull request #29 from GitTimeraider/alert-autofix-3
Potential fix for code scanning alert no. 3: Information exposure through an exception
2 parents eaf3a26 + ec0451a commit 15d0ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def create_forwarder():
180180
})
181181
else:
182182
return jsonify({
183-
'error': message
183+
'error': 'Failed to create forwarder'
184184
}), 400
185185

186186
except Exception as e:

0 commit comments

Comments
 (0)