From eeb3187e69e8930c0c100a7903d51a37a4447bee Mon Sep 17 00:00:00 2001 From: David Wilkie Date: Mon, 16 Sep 2024 15:34:47 +0700 Subject: [PATCH] WIP --- components/s3_mpeg/app.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/components/s3_mpeg/app.rb b/components/s3_mpeg/app.rb index 58b26a573..dce33617a 100644 --- a/components/s3_mpeg/app.rb +++ b/components/s3_mpeg/app.rb @@ -19,14 +19,6 @@ def initialize(event:, context:, s3_client: Aws::S3::Client.new) end def process - begin - 1 / 0 - rescue ZeroDivisionError => exception - Sentry.capture_exception(exception) - end - - Sentry.capture_message("test message") - tempfile do |raw_file| s3_client.get_object(bucket:, key:, response_target: raw_file.path)