File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ app: websiteApp
5
5
stage : dev
6
6
7
7
inputs :
8
+ src :
9
+ root : ./
10
+ hook : npm run build
11
+ index : index.html
12
+ error : index.html
8
13
region : ap-guangzhou
9
14
bucketName : my-bucket
10
15
protocol : http
Original file line number Diff line number Diff line change @@ -45,7 +45,9 @@ class Express extends Component {
45
45
46
46
// 获取腾讯云密钥信息
47
47
if ( ! this . credentials . tencent . tmpSecrets ) {
48
- throw new Error ( 'Please add SLS_QcsRole in your tencent account.' )
48
+ throw new Error (
49
+ "Couldn't get your SecretId/Key, Please add SLS_QcsRole For Serverless Framework or Update Serverless Framework CLI(At least 1.67.3)"
50
+ )
49
51
}
50
52
const credentials = {
51
53
SecretId : this . credentials . tencent . tmpSecrets . TmpSecretId ,
@@ -145,7 +147,9 @@ class Express extends Component {
145
147
146
148
// 获取腾讯云密钥信息
147
149
if ( ! this . credentials . tencent . tmpSecrets ) {
148
- throw new Error ( 'Please add SLS_QcsRole in your tencent account.' )
150
+ throw new Error (
151
+ "Couldn't get your SecretId/Key, Please add SLS_QcsRole For Serverless Framework or Update Serverless Framework CLI(At least 1.67.3)"
152
+ )
149
153
}
150
154
const credentials = {
151
155
SecretId : this . credentials . tencent . tmpSecrets . TmpSecretId ,
You can’t perform that action at this time.
0 commit comments