English 中文(简体)
@aws-sdk/client-s3, 我为什么在输油管上的一个步骤造成一个错误时,会发生一个未经处理的错误事件?
原标题:@aws-sdk/client-s3, Why I got an unhandled error event when a step in pipeline throws an error?
问题回答

尽管我的问题没有得到回答,但我试图对我的守则进行 de击,我发现有些意思。

At a certain moment I stopped at this code below on debugging: enter image description here

以红色标记是实施该守则的条件。 该守则的这一部分指出,我们正在使用一个没有已知长度的溪流,并建议使用“黄.”/平衡存储方法。

我发现了一个stackoverflow swer,帮助我使用这种方法,而不是使用向PutObjectCommand发送的方法。 以前的错误是正确的。

So, consulting the @aws-sdk/lib-storage, I fix the code and the error was caught correctly. enter image description here enter image description here





相关问题
how to debug curl call to amazon s3 when it get stuck

I m using the PHP S3 class and this backup script to backup ~500Mb file from Linux server to S3. The call to s3 gets stuck (never returns) and top shows httpd process which consumes 100% CPU and 1% ...

Synchronizing S3 Folders/Buckets [closed]

I have an S3 Bucket that holds static content for all my clients in production. I also have a staging environment which I use for testing before I deploy to production. I also want the staging ...

Pure Javascript app + Amazon S3?

I m looking to confirm or refute the following: For what I have read so far it is not possible to write a web application with only javascript -- no server side logic -- served from Amazon S3 that ...

Using a CDN like Amazon S3 to control access to media

I want to use Amazon S3/CloudFront to store flash files. These files must be private as they will be accessed by members. This will be done by storing each file with a link to Amazon using a mysql ...

What s a good way to collect logs from Amazon EC2 instances?

My app is hosted on an Amazon EC2 cluster. Each instance writes events to log files. I need to collect (and data mine) over these logs at the end of each day. What s a recommended way to collect these ...

热门标签