Skip to content

Commit ecd3848

Browse files
committed
[irods/irods#7381] Treat CAT_SUCCESS_BUT_WITH_NO_INFO as an error
CAT_SUCCESS_BUT_WITH_NO_INFO is considered an error in the iRODS rule language REP, so the Python REP will now do the same.
1 parent aa3f82d commit ecd3848

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,7 @@ namespace
315315

316316
const auto err = self.effect_handler(self.rule_name, irods::unpack(rule_args_cpp));
317317

318-
const auto error_occurred =
319-
!err.ok() && err.code() != CAT_NO_ROWS_FOUND && err.code() != CAT_SUCCESS_BUT_WITH_NO_INFO;
318+
const auto error_occurred = !err.ok() && err.code() != CAT_NO_ROWS_FOUND;
320319

321320
bp::list ret_list{};
322321
while (!rule_args_cpp.empty()) {

0 commit comments

Comments
 (0)