{"version":"2.1.229","anchor":"file-sync-reports-a-machine-readable-stop-reason","canonical_anchor":"file-sync-reports-a-machine-readable-stop-reason","heading":"File sync reports a machine-readable stop reason","tier":"internal","area":"File Sync","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.229\/e\/file-sync-reports-a-machine-readable-stop-reason","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.229","markdown":"### File sync reports a machine-readable stop reason\n\nFile sync now records a machine-readable reason when it stops and exposes its current state.\n\n**What**\n\nThe component that uploads a directory's files for a session now records a reason code next to each human-readable stop message, and exposes a state accessor reporting off, stopped, seeding or armed.\n\n**Details**\n\n- Reason codes include `not_opted_in`, `internal_error` and `shut_down`.\n- Existing messages, such as the one for a directory whose files could not be listed, are unchanged.\n\n**Evidence**\n\n`File sync stopped for this session: this directory's files could not be listed`\n\n- Area: File Sync\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5"}