nickva commented on code in PR #5120:
URL: https://github.com/apache/couchdb/pull/5120#discussion_r1667427614
##########
src/couch_quickjs/src/couch_quickjs_scanner_plugin.erl:
##########
@@ -182,11 +183,12 @@ process_ddoc(#st{} = St, DbName, #doc{} = DDoc0) ->
catch
throw:{validate, Error} ->
Meta = #{sid => SId, db => DbName, ddoc => DDocId},
- ?WARN("ddoc validation failed ~p", [Error], Meta),
- St1;
+ validation_warning("ddoc validation failed ~p", Error,
Meta),
+ start_or_reset_procs(St1);
Review Comment:
Updated and removed the extra start_or_reset_procs(St1) in the catch clauses
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]