mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 12:36:57 +00:00
update comment
This commit is contained in:
parent
621f2e2ee4
commit
142b3b552e
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ export class BunnyService {
|
||||||
|
|
||||||
const req = https.request(options);
|
const req = https.request(options);
|
||||||
|
|
||||||
// Log and throw error if BunnyCDN detects wrong data and return to prevent console spam as this event occurs multiple times
|
// Log and return if BunnyCDN detects wrong data (return is used to prevent console spam as this event occurs multiple times)
|
||||||
req.on('response', (res) => {
|
req.on('response', (res) => {
|
||||||
if (res.statusCode === 401) {
|
if (res.statusCode === 401) {
|
||||||
this.bunnyCdnLogger.error('Invalid AccessKey or region hostname');
|
this.bunnyCdnLogger.error('Invalid AccessKey or region hostname');
|
||||||
|
|
Loading…
Add table
Reference in a new issue