Skip to content

Commit

Permalink
Merge pull request #176 from WhyAsh5114/175-save-bug
Browse files Browse the repository at this point in the history
test: copy error data to clipboard
  • Loading branch information
WhyAsh5114 authored Jan 27, 2025
2 parents 1945de9 + 4978451 commit f5f8982
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ vite.config.ts.timestamp-*
playwright-report
test-results
auth.json
.next
frontend
backend
1 change: 1 addition & 0 deletions src/routes/workouts/manage/overview/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
} catch (error) {
if (error instanceof Error) {
toast.error('Failed to preprocess set data', { description: error.message });
navigator.clipboard.writeText(JSON.stringify(workoutRunes.workoutExercises));
console.log(workoutRunes.workoutExercises);
}
}
Expand Down

0 comments on commit f5f8982

Please sign in to comment.