Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing secondary exceptions from console #5513

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jorgee
Copy link
Contributor

@jorgee jorgee commented Nov 15, 2024

  • Unknown errors before session abort have been moved from log.error to log.debug to do not print them in the console.
  • When session is cancelled and later aborted, do not call notifyError in abort (duplicate error notifications)

@jorgee jorgee linked an issue Nov 15, 2024 that may be closed by this pull request
Copy link

netlify bot commented Nov 15, 2024

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 54c3445
🔍 Latest deploy log https://app.netlify.com/sites/nextflow-docs-staging/deploys/673739a88bab37000846a60d

@jorgee jorgee marked this pull request as draft November 15, 2024 10:55
@@ -95,7 +95,7 @@ class DataflowHelper {
@Override
boolean onException(final DataflowProcessor processor, final Throwable t) {
final e = t instanceof InvocationTargetException ? t.cause : t
OperatorImpl.log.error("@unknown", e)
OperatorImpl.log.debug("@unknown", e)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would not make more sense to rely only on session.abort to report this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve error message reported on failed run
2 participants