Skip to content

fix: correct typos in get-start-date error messages#3980

Merged
louis030195 merged 1 commit into
screenpipe:mainfrom
pleasedodisturb:fix/error-message-typos
Jun 11, 2026
Merged

fix: correct typos in get-start-date error messages#3980
louis030195 merged 1 commit into
screenpipe:mainfrom
pleasedodisturb:fix/error-message-typos

Conversation

@pleasedodisturb

@pleasedodisturb pleasedodisturb commented Jun 10, 2026

Copy link
Copy Markdown

description

fixes two typos in error-message strings returned by getStartDate() (apps/screenpipe-app-tauri/lib/actions/get-start-date.ts):

  • "error occured while getting data""error occurred while getting data"
  • "errro occured""an error occurred"

also adds the source-file header required by the repo's CLAUDE.md, which this file was missing (sibling files in lib/actions/, e.g. has-frames-date.ts, already carry it).

related issue: n/a (trivial typo fix, no issue filed)

before

n/a — the strings only surface in the function's error return value, no visible UI change to record. before: "error occured while getting data" / "errro occured".

after

after: "error occurred while getting data" / "an error occurred".

how to test

  1. grep -n "occured\|errro" apps/screenpipe-app-tauri/lib/actions/get-start-date.ts → no matches
  2. cd apps/screenpipe-app-tauri && bunx --bun @biomejs/biome check lib/actions/get-start-date.ts → passes
  3. cd apps/screenpipe-app-tauri && bun run typecheck → passes

desktop app checklist (if applicable)

no #[tauri::command] handlers or exported Rust types touched (string literals + comment header only):

  • bun run bindings:generate — n/a (no binding changes)
  • bun run bindings:check — n/a (no binding changes)
  • bun run typecheck

🤖 Generated with Claude Code

Two error-message strings in getStartDate had typos:
- "error occured" -> "error occurred"
- "errro occured" -> "an error occurred"

Also add the source-file header required by the repo's CLAUDE.md,
which this file was missing (sibling files in lib/actions/ already
carry it).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@louis030195 louis030195 marked this pull request as ready for review June 11, 2026 14:21
@louis030195 louis030195 merged commit db9a1be into screenpipe:main Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants