Skip to content

Commit 4264c90

Browse files
authored
Merge pull request #8903 from shirady/iam-sts-improve-log-message
IAM, STS | Improve Log Printing Before Throw Error of `NotImplemented`
2 parents 3b239c8 + 3268fff commit 4264c90

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/endpoint/iam/iam_rest.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ function parse_op_name(req, action) {
145145
if (ACTIONS[action]) {
146146
return `${method}_${ACTIONS[action]}`;
147147
}
148+
dbg.error('IAM parse_op_name - NotImplemented', action, method, req.originalUrl);
148149
throw new IamError(IamError.NotImplemented);
149150
}
150151

src/endpoint/sts/sts_rest.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ function parse_op_name(req, action) {
163163
if (ACTIONS[action]) {
164164
return `${method}_${ACTIONS[action]}`;
165165
}
166+
dbg.error('STS parse_op_name - NotImplemented', action, method, req.originalUrl);
166167
throw new StsError(StsError.NotImplemented);
167168
}
168169

0 commit comments

Comments
 (0)