Skip to content

Commit 996d289

Browse files
🎛
1 parent 0949961 commit 996d289

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/chatgpt-unofficial-proxy-api.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,9 @@ export class ChatGPTUnofficialProxyAPI {
218218
}
219219
}
220220
} catch (err) {
221-
console.warn('chatgpt unexpected JSON error', err)
221+
if (this._debug) {
222+
console.warn('chatgpt unexpected JSON error', err)
223+
}
222224
// reject(err)
223225
}
224226
},

0 commit comments

Comments
 (0)