[ 
https://issues.apache.org/jira/browse/OAK-10730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17833500#comment-17833500
 ] 

Stefan Egli commented on OAK-10730:
-----------------------------------

Suggestion created at https://github.com/apache/jackrabbit-oak/pull/1399

> Log MongoException previously swallowed
> ---------------------------------------
>
>                 Key: OAK-10730
>                 URL: https://issues.apache.org/jira/browse/OAK-10730
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: documentmk
>            Reporter: Stefan Egli
>            Assignee: Julian Reschke
>            Priority: Major
>
> In 
> [MongoDocumentStore.create|https://github.com/apache/jackrabbit-oak/blob/2e996d78f0a565b17287af5691f2c1be7d2e925d/oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDocumentStore.java#L1754-L1756]
>  a MongoException is silently swallowed.
> This code is quite ancient - it was created in svn revision 
> [1451586|https://svn.apache.org/viewvc?view=revision&revision=1451586] - we 
> might thus want to be careful not to cause noise in a case where this 
> swallowing was legitimate.
> I would thus suggest to start logging this at debug or info.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to