Skip to content

Commit 3268fff

Browse files
committed
IAM, STS | Improve log printing before throw error of NotImplemented
Signed-off-by: shirady <57721533+shirady@users.noreply.github.com>
1 parent 3b239c8 commit 3268fff

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)