We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4932502 commit 89c4473Copy full SHA for 89c4473
1 file changed
express-s3proxy.js
@@ -83,7 +83,7 @@ const proxy = new S3Proxy({ bucket, credentials })
83
proxy.init()
84
85
proxy.on('error', (err) => {
86
- throw new Error(`error initializing s3proxy for bucket ${bucket}: ${err.statusCode} ${err.code}`)
+ throw new Error(`error initializing s3proxy for bucket ${bucket}: [${err.name}] ${err.message}`)
87
})
88
89
// basic health check
0 commit comments