Skip to content

refactor: use console.error for error logging#969

Open
AyushCoder9 wants to merge 1 commit intodrawdb-io:mainfrom
AyushCoder9:cleanup/error-logging
Open

refactor: use console.error for error logging#969
AyushCoder9 wants to merge 1 commit intodrawdb-io:mainfrom
AyushCoder9:cleanup/error-logging

Conversation

@AyushCoder9
Copy link
Copy Markdown
Contributor

Description

This PR replaces generic console.log calls with console.error in error handling blocks within Workspace.jsx and db.js.

Changes

  • Replaced console.log(error) with console.error(error) in src/components/Workspace.jsx.
  • Replaced console.log(e) with console.error(e) in src/data/db.js during template seeding.

Rationale

Using console.error ensures that errors are correctly categorized in browser developer tools and logging services, making debugging more effective.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

@AyushCoder9 is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant