Skip to content

Commit d69caa5

Browse files
zhu-xiaoweiclaude
andcommitted
fix(server): show s3 cp errors instead of silent exit
Replace --quiet with --only-show-errors so that AWS errors (AccessDenied, NoSuchBucket, ExpiredToken, etc.) are visible when the source upload fails. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1de5860 commit d69caa5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ EOF
162162
(cd "$SRC_DIR" && zip -qr "$SRC_ZIP" .)
163163
(cd "$BUILDSPEC_DIR" && zip -q "$SRC_ZIP" buildspec.yml)
164164
rm -rf "$BUILDSPEC_DIR"
165-
aws s3 cp "$SRC_ZIP" "s3://${S3_BUCKET}/build/src.zip" --region "$REGION" --quiet
165+
aws s3 cp "$SRC_ZIP" "s3://${S3_BUCKET}/build/src.zip" --region "$REGION" --only-show-errors
166166
rm -f "$SRC_ZIP"
167167

168168
# CodeBuild role (create if missing). Propagation is handled by retrying create-project below.

0 commit comments

Comments
 (0)