In the exclusive converter dashboard:
except TNSError as e: return jsonify("error": str(e)), 500 except Exception as e: return jsonify("error": f"An unexpected error occurred: str(e)"), 500 pdf to tns converter exclusive