mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-11 08:22:09 -05:00
[PR #13931] [MERGED] WIP: Minor clean up of console log usage in the front end #38966
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/13931
Author: @cableman
Created: 5/15/2025
Status: ✅ Merged
Merged: 5/16/2025
Merged by: @tjbck
Base:
dev← Head:feature/better-frontend-error📝 Commits (2)
20c1c3fChanged console logging of errors to use console error logging84e0605Cleaning up usage of console log in front end📊 Changes
39 files changed (+309 additions, -317 deletions)
View changed files
📝
src/lib/apis/audio/index.ts(+6 -6)📝
src/lib/apis/auths/index.ts(+24 -24)📝
src/lib/apis/channels/index.ts(+12 -12)📝
src/lib/apis/chats/index.ts(+31 -31)📝
src/lib/apis/configs/index.ts(+14 -14)📝
src/lib/apis/evaluations/index.ts(+8 -8)📝
src/lib/apis/files/index.ts(+7 -7)📝
src/lib/apis/folders/index.ts(+7 -7)📝
src/lib/apis/functions/index.ts(+14 -14)📝
src/lib/apis/groups/index.ts(+5 -5)📝
src/lib/apis/images/index.ts(+7 -7)📝
src/lib/apis/index.ts(+33 -33)📝
src/lib/apis/knowledge/index.ts(+11 -11)📝
src/lib/apis/memories/index.ts(+6 -6)📝
src/lib/apis/models/index.ts(+8 -8)📝
src/lib/apis/notes/index.ts(+5 -5)📝
src/lib/apis/ollama/index.ts(+12 -12)📝
src/lib/apis/openai/index.ts(+8 -8)📝
src/lib/apis/prompts/index.ts(+6 -6)📝
src/lib/apis/retrieval/index.ts(+12 -12)...and 19 more files
📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Console log is used in many (really many place) in the front end. It should use the right "logging" channel for different logging message from: log, debug, info, warn and error.
Main reason for using especially error:
console.error()can be filtered separately in the browserChanged
Removed
Additional Information
N/A
Screenshots or Videos
N/A
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.