Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion packages/globe_cli/lib/src/commands/deploy_command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,16 @@ class DeployCommand extends BaseGlobeCommand {
return ExitCode.success.code;
} on ApiException catch (e) {
deployProgress.fail();
logger.err('✗ Failed to deploy project: ${e.message}');
if (e.statusCode == 413) {
logger.err(
'✗ Failed to deploy project: Request body exceeded Cloudflare upload limits.',
);
logger.info(
'Learn more: https://globe.dev/docs/troubleshooting/error-413',
);
} else {
logger.err('✗ Failed to deploy project: ${e.message}');
}
return ExitCode.software.code;
} catch (e, s) {
deployProgress.fail();
Expand Down
Loading