We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57b2cce + 8d2bb4a commit 0a75848Copy full SHA for 0a75848
app/settings.py
@@ -25,7 +25,8 @@ def get_da_config():
25
})
26
except Exception as e:
27
print(f"Error in GET da-config: {e}")
28
- return jsonify({'error': str(e)}), 500
+ print(traceback.format_exc())
29
+ return jsonify({'error': 'An internal error has occurred. Please try again later.'}), 500
30
31
@settings_bp.route('/api/da-config', methods=['POST'])
32
@login_required
0 commit comments