mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
presentErrorToDevelopers
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
export function presentErrorToHumans(error: any, mdBold: boolean = false, devWarnError: boolean = false): string {
|
||||
if (devWarnError)
|
||||
console.error('presentErrorToHumans', { error });
|
||||
console.error('presentErrorToDevelopers', { error });
|
||||
|
||||
// Handle Error objects
|
||||
if (error instanceof Error) {
|
||||
|
||||
Reference in New Issue
Block a user