HH-36526 remove automatic debug output on errors with debug=True